diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4d1106bfd23b..01066e9da524 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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)