Skip to content

Commit 2a16802

Browse files
authored
Update ci.yaml
1 parent 606fcb1 commit 2a16802

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

.github/workflows/ci.yaml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
npm install
2727
node_modules/.bin/gulp lint
2828
bundle-stable:
29-
if: ${{ github.event_name == 'push' }}
29+
if: ${{ startsWith(github.ref, 'refs/tags/') }}
3030
needs: lint
3131
runs-on: ubuntu-latest
3232
steps:
@@ -38,10 +38,11 @@ jobs:
3838
- run: |
3939
npm install
4040
node_modules/.bin/gulp bundle
41-
- uses: actions/upload-artifact@v3
41+
- uses: softprops/action-gh-release@v1
4242
with:
43-
name: ui-bundle.zip
44-
path: build/ui-bundle.zip
43+
files: |
44+
README.md
45+
build/ui-bundle.zip
4546
bundle-dev:
4647
if: ${{ github.event_name != 'push' }}
4748
needs: lint
@@ -55,9 +56,10 @@ jobs:
5556
- run: |
5657
npm install
5758
node_modules/.bin/gulp bundle
58-
- uses: actions/upload-artifact@v3
59+
- uses: softprops/action-gh-release@v1
5960
with:
60-
name: ui-bundle.zip
61-
path: build/ui-bundle.zip
62-
retention-days: 1
61+
prerelease: true
62+
files: |
63+
README.md
64+
build/ui-bundle.zip
6365
...

0 commit comments

Comments
 (0)