diff --git a/.github/workflows/balances_test.yml b/.github/workflows/balances_test.yml index 9054520..40fecec 100644 --- a/.github/workflows/balances_test.yml +++ b/.github/workflows/balances_test.yml @@ -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 }} diff --git a/.github/workflows/install/action.yml b/.github/workflows/install/action.yml index a7ed92e..c66c2ec 100644 --- a/.github/workflows/install/action.yml +++ b/.github/workflows/install/action.yml @@ -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