File tree Expand file tree Collapse file tree 1 file changed +29
-1
lines changed
Expand file tree Collapse file tree 1 file changed +29
-1
lines changed Original file line number Diff line number Diff line change 4141 with :
4242 name : distributables
4343 path : build/dist/*
44- if-no-files-found : error
44+ if-no-files-found : error
45+ publish :
46+ name : Publish a release
47+ runs-on : " ubuntu-18.04"
48+ if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
49+ needs : build
50+ steps :
51+ - name : Get our distributables
52+ uses : actions/download-artifact@v2
53+ with :
54+ name : distributables
55+ path : built-distributables
56+
57+ - name : Upload server release
58+ uses : svenstaro/upload-release-action@v2
59+ with :
60+ repo_token : ${{ secrets.GITHUB_TOKEN }}
61+ file : ./built-distributables/v*/*
62+ file_glob : true
63+ tag : ${{ github.ref }}
64+
65+ - name : Upload latest manifest
66+ uses : svenstaro/upload-release-action@v2
67+ with :
68+ repo_token : ${{ secrets.GITHUB_TOKEN }}
69+ file : ./built-distributables/latest-manifest/*
70+ file_glob : true
71+ tag : test-latest-manifest
72+ overwrite : true
You can’t perform that action at this time.
0 commit comments