mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-30 14:48:56 +07:00
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:
16
.github/workflows/buildAndDeploy.yml
vendored
16
.github/workflows/buildAndDeploy.yml
vendored
@ -134,6 +134,12 @@ jobs:
|
||||
ls android/build/outputs/apk/release
|
||||
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
|
||||
|
||||
- name: Build UncivServer.jar
|
||||
@ -231,6 +237,16 @@ jobs:
|
||||
with:
|
||||
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
|
||||
continue-on-error: true
|
||||
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
|
||||
|
Reference in New Issue
Block a user