File tree Expand file tree Collapse file tree 1 file changed +17
-6
lines changed Expand file tree Collapse file tree 1 file changed +17
-6
lines changed Original file line number Diff line number Diff line change 6464 name : artifacts
6565 path : ./out/*
6666
67- - name : Upload to releases
68- if : github.event_name != 'pull_request' && github.ref_name == 'main'
69- uses : softprops/action-gh-release@v1
70- with :
71- files : out/*
72- tag_name : continuous
67+ upload :
68+ name : Create release and upload artifacts
69+ runs-on : ubuntu-latest
70+ needs :
71+ - build
72+ steps :
73+ - name : Download artifacts
74+ uses : actions/download-artifact@v2
75+ - name : Inspect directory after downloading artifacts
76+ run : ls -alFR
77+ - name : Create release and upload artifacts
78+ env :
79+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
80+ run : |
81+ wget -q https://github.com/TheAssassin/pyuploadtool/releases/download/continuous/pyuploadtool-x86_64.AppImage
82+ chmod +x pyuploadtool-x86_64.AppImage
83+ ./pyuploadtool-x86_64.AppImage --appimage-extract-and-run artifacts/*
You can’t perform that action at this time.
0 commit comments