Skip to content

Commit c690bb4

Browse files
committed
Create a release from manual workflow
1 parent f63d5ae commit c690bb4

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

.github/workflows/manual-build.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,41 @@ jobs:
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+
uses: dciborow/[email protected]
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

0 commit comments

Comments
 (0)