Skip to content

Commit

Permalink
More GH actions update
Browse files Browse the repository at this point in the history
  • Loading branch information
jeefo authored Feb 19, 2024
1 parent 7bc7457 commit 6a3cd45
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Build
run: ./gradlew assembleDebug
- name: Sign APK
uses: noriban/sign-android-release@v5
uses: r0adkll/sign-android-release@v1
with:
releaseDirectory: app/build/outputs/apk/debug
signingKeyBase64: ${{ secrets.SIGNING_KEY }}
Expand All @@ -37,7 +37,7 @@ jobs:
env:
BUILD_TOOLS_VERSION: "34.0.0"
- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: android
path: app/build/outputs/apk/debug/app-debug-signed.apk
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
- name: Generate extras.pk3
run: Compress-Archive -Path 3rdparty/cs16client-extras/* -Destination build/extras.pk3 -CompressionLevel NoCompression
- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: win32-${{ matrix.arch }}
path: |
Expand Down Expand Up @@ -125,7 +125,7 @@ jobs:
- name: Generate extras.pk3
run: zip -0 -r build/extras.pk3 3rdparty/cs16client-extras
- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: linux-${{ matrix.arch }}
path: |
Expand All @@ -144,12 +144,13 @@ jobs:
- name: Fetch artifacts
uses: actions/download-artifact@v4
- name: Remove old release
uses: dev-drprasad/[email protected]
uses: ClementTsang/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: continuous
delete_release: true
github_token: ${{ secrets.REPO_TOKEN }}
repo: Velaron/cs16-client
repo: ${{ env.GITHUB_REPOSITORY }}
- name: Repackage binaries
run: |
mv android/app-debug-signed.apk cs16-client.apk
Expand Down

0 comments on commit 6a3cd45

Please sign in to comment.