Skip to content

Commit

Permalink
Upload macOS and iOS release together
Browse files Browse the repository at this point in the history
  • Loading branch information
anr2me authored Mar 15, 2022
1 parent f94bcd0 commit 0c4437f
Showing 1 changed file with 6 additions and 16 deletions.
22 changes: 6 additions & 16 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -304,30 +304,20 @@ jobs:
run: |
cd ppsspp || exit 1
mv PPSSPPSDL.zip PPSSPPSDL-macOS-${GITHUB_REF##*/}.zip || exit 1
- name: Upload macOS release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/') && runner.os == 'macOS' && matrix.extra == 'test'
with:
files: ppsspp/*.zip
body: >
PPSSPP is a cross-platform PSP emulator.
Visit PPSSPP [official website](https://ppsspp.org)
for a [full changelog](https://ppsspp.org/index.html#news)
as well as the [downloads section](https://ppsspp.org/downloads.html)
for other platforms.
- name: Create iOS release
if: startsWith(github.ref, 'refs/tags/') && runner.os == 'macOS' && matrix.extra == 'ios'
run: |
cd ppsspp || exit 1
mv PPSSPP.ipa PPSSPP-iOS-${GITHUB_REF##*/}.ipa || exit 1
- name: Upload iOS release
- name: Upload macOS and iOS release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/') && runner.os == 'macOS' && matrix.extra == 'ios'
if: startsWith(github.ref, 'refs/tags/') && runner.os == 'macOS' && (matrix.extra == 'test' || matrix.extra == 'ios')
with:
files: ppsspp/*.ipa
files: |
ppsspp/*.zip
ppsspp/*.ipa
body: >
PPSSPP is a cross-platform PSP emulator.
Visit PPSSPP [official website](https://ppsspp.org)
Expand Down

0 comments on commit 0c4437f

Please sign in to comment.