There was an error while loading. Please reload this page.
1 parent 92eff46 commit 95f2ffbCopy full SHA for 95f2ffb
1 file changed
.github/workflows/zip.yml
@@ -0,0 +1,27 @@
1
+name: create-starter-zip
2
+run-name: Creating Starter Zip
3
+on: [push]
4
+jobs:
5
+ zip:
6
+ if: startsWith(github.ref, 'refs/tags/')
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - uses: actions/checkout@v3
10
+ - uses: actions/setup-node@v3
11
+ with:
12
+ node-version: '18'
13
+
14
+ - uses: actions/checkout@v2
15
16
+ fetch-depth: 0
17
+ ref: main
18
+ - run: npm install --force
19
+ - name: Zip Folder
20
+ run: zip -r flights42.zip . -x "*.zip"
21
22
+ - name: Release
23
+ uses: softprops/action-gh-release@v1
24
25
+ files: '*.zip'
26
+ env:
27
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments