File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change 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
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 ...
You can’t perform that action at this time.
0 commit comments