Skip to content

Commit f17d53d

Browse files
committed
Releaseまで消していた問題の修正
1 parent dbbc845 commit f17d53d

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/CI.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,3 +130,23 @@ jobs:
130130
# with:
131131
# name: LoopMusicPlayer-ios
132132
# path: ${{ github.workspace }}/*.zip
133+
134+
release:
135+
name: Release
136+
runs-on: ubuntu-latest
137+
if: ${{ github.ref_type == 'tag' }}
138+
needs: [ desktop-build, android-build, ios-build ]
139+
steps:
140+
- uses: actions/checkout@v4
141+
- uses: actions/download-artifact@v4
142+
with:
143+
path: artifacts
144+
- name: Create Release
145+
env:
146+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
147+
run: |
148+
cd ${{ github.workspace }}/artifacts
149+
mv ./*/*.zip ./
150+
mv ./*/*.apk ./
151+
gh release create "${{ github.ref }}" ${{ github.workspace }}/artifacts/*.zip ${{ github.workspace }}/artifacts/*.apk
152+

0 commit comments

Comments
 (0)