Split itch upload to separate job - test5

Need to setup gradle and git repo to actually run dist
In future maybe we can get rid of gradle dist entirely and just run packr directly, not today though
This commit is contained in:
Yair Morgenstern
2023-03-07 22:14:18 +02:00
parent a76b344aba
commit 2add42b580

View File

@ -134,6 +134,12 @@ jobs:
ls android/build/outputs/apk/release ls android/build/outputs/apk/release
mv android/build/outputs/apk/release/Unciv-release-unsigned-signed.apk deploy/Unciv-signed.apk mv android/build/outputs/apk/release/Unciv-release-unsigned-signed.apk deploy/Unciv-signed.apk
- name: Upload APK
uses: actions/upload-artifact@v3
with:
name: APK
path: deploy/Unciv-signed.apk
## DESKTOP ## DESKTOP
- name: Build UncivServer.jar - name: Build UncivServer.jar
@ -231,6 +237,16 @@ jobs:
with: with:
name: UncivJar name: UncivJar
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '11'
- name: Setup Gradle
uses: gradle/gradle-build-action@v2.3.3
- name: Upload to itch.io - name: Upload to itch.io
continue-on-error: true continue-on-error: true
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')