Skip to content

Commit

Permalink
update github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
janbar committed Sep 18, 2024
1 parent 0d7495d commit 28a4efc
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build-android-x64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
environment: build
steps:
- name: Checkout
Expand All @@ -31,25 +31,25 @@ jobs:
- name: Configure ENV
run: |
echo "ANDROID_NDK=${ANDROID_HOME}/ndk/21.4.7075529" >> $GITHUB_ENV
echo "QT_DIR=${HOME}/Qt/5.15.14/android" >> $GITHUB_ENV
echo "QT_DIR=${HOME}/Qt/5.15.15/android" >> $GITHUB_ENV
- name: Cache Qt
id: cache-qt
uses: actions/cache@v3
env:
cache-name: cache-qt
with:
path: ~/Qt/5.15.14/android
key: qtandroid-51514-ndk21
path: ~/Qt/5.15.15/android
key: qtandroid-51515-ndk21

- if: ${{ steps.cache-qt.outputs.cache-hit != 'true' }}
name: Install Qt
continue-on-error: true
run: |
wget -q ${{secrets.PRIVATE_URL_DOWNLOAD}}/qt/qt-5.15.14-android-ndk21-linux64.tar.xz
wget -q ${{secrets.PRIVATE_URL_DOWNLOAD}}/qt/qt-5.15.15-android-ndk21-linux64.tar.xz
mkdir -p ~/Qt
tar xfJ qt-5.15.14-android-ndk21-linux64.tar.xz -C ~/Qt/
rm -f qt-5.15.14-android-ndk21-linux64.tar.xz
tar xfJ qt-5.15.15-android-ndk21-linux64.tar.xz -C ~/Qt/
rm -f qt-5.15.15-android-ndk21-linux64.tar.xz
- name: Fetch submodules
run: git submodule init && git submodule update
Expand Down

0 comments on commit 28a4efc

Please sign in to comment.