-
-
Notifications
You must be signed in to change notification settings - Fork 3
36 lines (28 loc) · 1.09 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: CI
on: [push]
jobs:
build:
name: Build
runs-on: ubuntu-latest
env:
COMPOSER_HOME: ./.composer
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup
run: mkdir -p "$COMPOSER_HOME"
- name: Lint
run: make lint
- name: Build
id: build
uses: gocom/action-textpattern-package-plugin@master
- name: Upload Compressed Plugin Installer Artifact
uses: actions/upload-artifact@v3
with:
name: ${{ steps.build.outputs.name }}_sha${{ github.sha }}_zip.txt
path: ${{ github.workspace }}/${{ steps.build.outputs.compressed }}
- name: Upload Uncompressed Plugin Installer Artifact
uses: actions/upload-artifact@v3
with:
name: ${{ steps.build.outputs.name }}_sha${{ github.sha }}.txt
path: ${{ github.workspace }}/${{ steps.build.outputs.uncompressed }}