Skip to content

Commit c12b71b

Browse files
committed
ci: Fix workflow uploads
I hope [[skip ci]] Signed-off-by: Swagtoy <me@ow.swag.toys>
1 parent 681c5a8 commit c12b71b

2 files changed

Lines changed: 12 additions & 2 deletions

File tree

.github/workflows/android.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,8 @@ jobs:
207207
- name: Create Release
208208
if: startsWith(github.ref, 'refs/tags/')
209209
uses: softprops/action-gh-release@v1
210+
env:
211+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
210212
with:
211-
files: "mk/android/app/build/outputs/apk/release/SuperTux-${{ env.SUPERTUX_VERSION }}-${{ matrix.arch }}.apk"
213+
files: "build/upload/*"
212214
draft: true
213-
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/flatpak.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,3 +63,12 @@ jobs:
6363
bundle: SuperTux.flatpak
6464
manifest-path: org.supertux.SuperTux.yml
6565
cache-key: flatpak-builder-release-${{ github.sha }}
66+
67+
- name: Create Release
68+
if: ${{ startsWith(github.ref, 'refs/tags/') }}
69+
uses: softprops/action-gh-release@v1
70+
env:
71+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
72+
with:
73+
files: 'build/upload/SuperTux*'
74+
draft: true

0 commit comments

Comments
 (0)