File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change 3838 with :
3939 name : openandroidinstaller-${{ github.ref_name }}-windows-latest
4040 path : dist/
41+
42+ create-release :
43+ needs :
44+ - build
45+ - build-windows
46+ runs-on : ' ubuntu-latest'
47+ steps :
48+ - uses : actions/checkout@v4
49+ - name : Download artifact
50+ uses : actions/download-artifact@v4
51+ - name : Display structure of downloaded files
52+ run : ls -R
53+ - uses : montudor/action-zip@v1
54+ with :
55+ args : zip -qq -r openandroidinstaller-${{ github.ref_name }}-macos-latest.zip openandroidinstaller-${{ github.ref_name }}-macos-latest
56+ - uses : montudor/action-zip@v1
57+ with :
58+ args : zip -qq -r openandroidinstaller-${{ github.ref_name }}-ubuntu-20.04.zip openandroidinstaller-${{ github.ref_name }}-ubuntu-20.04
59+ - uses : montudor/action-zip@v1
60+ with :
61+ args : zip -qq -r openandroidinstaller-${{ github.ref_name }}-ubuntu-latest.zip openandroidinstaller-${{ github.ref_name }}-ubuntu-latest
62+ - uses : montudor/action-zip@v1
63+ with :
64+ args : zip -qq -r openandroidinstaller-${{ github.ref_name }}-windows-latest.zip openandroidinstaller-${{ github.ref_name }}-windows-latest
65+ - name : Display structure of downloaded files
66+ run : ls -R
67+ - name : Create release
68+ 69+ if : startsWith(github.ref, 'refs/tags/')
70+ with :
71+ repo_token : ${{ secrets.GITHUB_TOKEN }}
72+ prerelease : false
73+ title : Release ${{ github.ref_name }}
74+ files : |
75+ openandroidinstaller-${{ github.ref_name }}-macos-latest.zip
76+ openandroidinstaller-${{ github.ref_name }}-ubuntu-20.04.zip
77+ openandroidinstaller-${{ github.ref_name }}-ubuntu-latest.zip
78+ openandroidinstaller-${{ github.ref_name }}-windows-latest.zip
You can’t perform that action at this time.
0 commit comments