mirror of
https://github.com/pezkuwichain/pezkuwi-wallet-android.git
synced 2026-04-21 23:48:00 +00:00
fix: resolve CI workflow failures across multiple jobs
- balances_test: update macos-13 → macos-14 (13 no longer supported) - balances_test: fix null branch ref on schedule triggers - balances_test: fix typo anroid-results → android-results - install: fix broken NDK path reference (steps.setup-ndk not defined) - install: use cmdline-tools/latest instead of hardcoded 16.0 - Created pezkuwichain/balances_test_result repo with gh-pages - Added ACTIONS_DEPLOY_KEY secret for report deployment
This commit is contained in:
@@ -9,7 +9,7 @@ jobs:
|
||||
build-app:
|
||||
uses: pezkuwichain/pezkuwi-wallet-android/.github/workflows/android_build.yml@main
|
||||
with:
|
||||
branch: ${{github.head_ref}}
|
||||
branch: ${{ github.head_ref || github.ref_name || 'main' }}
|
||||
gradlew-command: assembleDebug
|
||||
upload-name: develop-apk
|
||||
run-tests: false
|
||||
@@ -18,7 +18,7 @@ jobs:
|
||||
|
||||
run-tests:
|
||||
needs: [build-app]
|
||||
runs-on: macos-13
|
||||
runs-on: macos-14
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
@@ -46,7 +46,7 @@ jobs:
|
||||
- uses: actions/upload-artifact@v4
|
||||
if: always()
|
||||
with:
|
||||
name: anroid-results
|
||||
name: android-results
|
||||
path: ./allure-results.tar
|
||||
|
||||
report:
|
||||
@@ -63,7 +63,7 @@ jobs:
|
||||
- name: Unzip results
|
||||
run: |
|
||||
find artifacts -name allure-results.tar -exec tar -xvf {} \;
|
||||
|
||||
|
||||
- name: Debug path
|
||||
run: |
|
||||
ls -laR
|
||||
@@ -89,5 +89,5 @@ jobs:
|
||||
💸 Balances tests failed.
|
||||
|
||||
Test Results: https://pezkuwichain.github.io/balances_test_result/${{ github.run_number }}/index.html
|
||||
|
||||
|
||||
Github run: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
|
||||
|
||||
@@ -16,11 +16,11 @@ runs:
|
||||
cmdline-tools-version: 12266719
|
||||
|
||||
- name: Install NDK
|
||||
run: echo "y" | sudo ${ANDROID_SDK_ROOT}/cmdline-tools/16.0/bin/sdkmanager --install "ndk;26.1.10909125" --sdk_root=${ANDROID_SDK_ROOT}
|
||||
run: echo "y" | sudo ${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager --install "ndk;26.1.10909125" --sdk_root=${ANDROID_SDK_ROOT}
|
||||
shell: bash
|
||||
|
||||
- name: Set ndk.dir in local.properties
|
||||
run: echo "ndk.dir=${{ steps.setup-ndk.outputs.ndk-path }}" >> local.properties
|
||||
run: echo "ndk.dir=${ANDROID_SDK_ROOT}/ndk/26.1.10909125" >> local.properties
|
||||
shell: bash
|
||||
|
||||
- name: 🦀 Install Rust
|
||||
|
||||
Reference in New Issue
Block a user