-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
8 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 }} | ||
|
@@ -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 | ||
|
@@ -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: | | ||
|
@@ -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: | | ||
|
@@ -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 | ||
|