We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 124711f commit 033c906Copy full SHA for 033c906
.github/workflows/build.yml
@@ -0,0 +1,38 @@
1
+name: Build
2
+
3
+on:
4
+ push:
5
6
+jobs:
7
+ build:
8
+ runs-on: ubuntu-latest
9
+ name: Build
10
+ steps:
11
+ - name: Checkout
12
+ uses: actions/checkout@v3
13
+ with:
14
+ fetch-depth: 0
15
16
+ - name: List files
17
+ run: ls
18
19
+ - name: Package
20
+ run: |
21
+ ls
22
+ mkdir out
23
+ 7z a "./out/PluginTemplate.zip" ./PluginTemplate/* -r -mx=9
24
25
+ - name: Upload to artifacts
26
+ uses: actions/upload-artifact@v4
27
28
+ name: PluginTemplate.zip
29
+ path: ./out/*.zip
30
31
+ - name: Upload to release
32
+ uses: ncipollo/release-action@v1
33
+ if: ${{ startsWith(github.ref, 'refs/tags/') }}
34
35
+ artifacts: ./out/*.zip
36
+ draft: true
37
+ token: ${{ secrets.GITHUB_TOKEN }}
38
tools/build.ps1
0 commit comments