mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-15 07:06:48 -04:00
Split upload of Unciv.jar and linux files
This commit is contained in:
parent
cb286d2865
commit
3c272820aa
15
.github/workflows/buildAndDeploy.yml
vendored
15
.github/workflows/buildAndDeploy.yml
vendored
@ -81,7 +81,6 @@ jobs:
|
|||||||
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
|
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
|
||||||
run: |
|
run: |
|
||||||
./gradlew desktop:dist
|
./gradlew desktop:dist
|
||||||
|
|
||||||
./gradlew desktop:zipLinuxFilesForJar
|
./gradlew desktop:zipLinuxFilesForJar
|
||||||
|
|
||||||
- name: Upload JAR
|
- name: Upload JAR
|
||||||
@ -90,6 +89,12 @@ jobs:
|
|||||||
name: UncivJar
|
name: UncivJar
|
||||||
path: |
|
path: |
|
||||||
desktop/build/libs/Unciv.jar
|
desktop/build/libs/Unciv.jar
|
||||||
|
|
||||||
|
- name: Upload linux files
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: UncivLinuxFiles
|
||||||
|
path: |
|
||||||
deploy/linuxFilesForJar.zip
|
deploy/linuxFilesForJar.zip
|
||||||
|
|
||||||
## Server
|
## Server
|
||||||
@ -184,6 +189,12 @@ jobs:
|
|||||||
|
|
||||||
## Finalize
|
## Finalize
|
||||||
|
|
||||||
|
AUR-update:
|
||||||
|
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
needs: Build
|
||||||
|
steps:
|
||||||
|
|
||||||
- name: Get AUR PKGBUILD
|
- name: Get AUR PKGBUILD
|
||||||
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
|
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
@ -327,7 +338,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
mkdir deploy
|
mkdir deploy
|
||||||
mv UncivJar/Unciv.jar deploy
|
mv UncivJar/Unciv.jar deploy
|
||||||
mv UncivJar/linuxFilesForJar.zip deploy
|
mv UncivLinuxFiles/linuxFilesForJar.zip deploy
|
||||||
mv UncivDeploymentZips/Unciv-Windows64.zip deploy
|
mv UncivDeploymentZips/Unciv-Windows64.zip deploy
|
||||||
mv UncivDeploymentZips/Unciv-Linux64.zip deploy
|
mv UncivDeploymentZips/Unciv-Linux64.zip deploy
|
||||||
mv UncivAPK/Unciv-signed.apk deploy
|
mv UncivAPK/Unciv-signed.apk deploy
|
||||||
|
Loading…
x
Reference in New Issue
Block a user