-
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.
Merge pull request #74 from jeefo/main
Switch YaPB to upstream repository
- Loading branch information
Showing
3 changed files
with
18 additions
and
17 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 |
---|---|---|
|
@@ -10,20 +10,20 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout sources | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
submodules: recursive | ||
- name: Fetch YaPB Graphs from DB | ||
run: scripts/yapb_graph_dl.sh | ||
- name: Setup Java | ||
uses: actions/setup-java@v3 | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: 17 | ||
distribution: 'temurin' | ||
cache: gradle | ||
- name: Setup Android SDK | ||
uses: android-actions/setup-android@v2 | ||
uses: android-actions/setup-android@v3 | ||
- name: Build | ||
run: ./gradlew assembleDebug | ||
- name: Sign APK | ||
|
@@ -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 | ||
|
@@ -46,7 +46,7 @@ jobs: | |
# runs-on: ubuntu-latest | ||
# steps: | ||
# - name: Checkout sources | ||
# uses: actions/checkout@v3 | ||
# uses: actions/checkout@v4 | ||
# with: | ||
# fetch-depth: 0 | ||
# submodules: recursive | ||
|
@@ -61,7 +61,7 @@ jobs: | |
fail-fast: false | ||
steps: | ||
- name: Checkout sources | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
submodules: recursive | ||
|
@@ -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: | | ||
|
@@ -101,7 +101,7 @@ jobs: | |
fail-fast: false | ||
steps: | ||
- name: Checkout sources | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
submodules: recursive | ||
|
@@ -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: | | ||
|
@@ -142,14 +142,15 @@ jobs: | |
needs: [android, windows, linux] | ||
steps: | ||
- name: Fetch artifacts | ||
uses: actions/download-artifact@v3 | ||
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 | ||
|
@@ -193,8 +194,8 @@ jobs: | |
- name: Upload new release | ||
uses: svenstaro/upload-release-action@v2 | ||
with: | ||
repo_name: Velaron/cs16-client | ||
repo_token: ${{ secrets.REPO_TOKEN }} | ||
repo_name: ${{ env.GITHUB_REPOSITORY }} | ||
repo_token: ${{ secrets.GITHUB_TOKEN }} | ||
file_glob: true | ||
file: cs16-client* | ||
tag: continuous | ||
|
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
Submodule yapb
updated
60 files