Skip to content

Commit

Permalink
CI: Update Cache Action
Browse files Browse the repository at this point in the history
  • Loading branch information
HTRamsey committed Jan 7, 2025
1 parent eb2e314 commit b5174b4
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 20 deletions.
9 changes: 4 additions & 5 deletions .github/actions/qt-android/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ runs:
- name: Setup Android Environment
uses: android-actions/setup-android@v3
with:
cmdline-tools-version: 11076708
packages: 'platform-tools platforms;android-34 build-tools;34.0.0' # ndk;25.1.8937393'
cmdline-tools-version: 12266719
packages: 'platform-tools platforms;android-35 build-tools;35.0.0' # ndk;25.1.8937393'
log-accepted-android-sdk-licenses: false

- name: Install Android NDK
Expand All @@ -50,14 +50,13 @@ runs:
shell: bash

- name: Set Up Cache
uses: hendrikmuhs/ccache-action@v1.2
uses: hendrikmuhs/ccache-action@main
with:
create-symlink: ${{ runner.os != 'Windows' }}
key: ${{ runner.os }}-Android-${{ matrix.BuildType }}
restore-keys: ${{ runner.os }}-Android-${{ matrix.BuildType }}
max-size: 1G
append-timestamp: false
save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
evict-old-files: 'job'

- name: Install Qt for ${{ runner.os }}
uses: jurplel/install-qt-action@v4
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/custom.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,13 @@ jobs:
# uses: mozilla-actions/sccache-action@v0.0.5

- name: Set Up Cache
uses: hendrikmuhs/ccache-action@v1.2
uses: hendrikmuhs/ccache-action@main
with:
key: ${{ runner.os }}-${{ matrix.Arch }}-${{ matrix.BuildType }}
restore-keys: ${{ runner.os }}-${{ matrix.Arch }}-${{ matrix.BuildType }}
max-size: 1G
append-timestamp: false
variant: sccache
save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
evict-old-files: 'job'

- name: Install Qt for Windows (x64)
if: matrix.Arch == 'x64'
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,12 @@ jobs:
- uses: lukka/get-cmake@latest

- name: Set Up Cache
uses: hendrikmuhs/ccache-action@v1.2
uses: hendrikmuhs/ccache-action@main
with:
key: ${{ runner.os }}-iOS-${{ matrix.BuildType }}
restore-keys: ${{ runner.os }}-iOS-${{ matrix.BuildType }}
max-size: 1G
append-timestamp: false
save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
evict-old-files: 'job'

- name: Install Qt for MacOS
uses: jurplel/install-qt-action@v4
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,14 +80,13 @@ jobs:
sudo make install
- name: Set Up Cache
uses: hendrikmuhs/ccache-action@v1.2
uses: hendrikmuhs/ccache-action@main
with:
create-symlink: true
key: ${{ runner.os }}-${{ matrix.BuildType }}
restore-keys: ${{ runner.os }}-${{ matrix.BuildType }}
max-size: 1G
append-timestamp: false
save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
evict-old-files: 'job'

- name: Install Qt for Linux
uses: jurplel/install-qt-action@v4
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,12 @@ jobs:
echo "PKG_CONFIG_PATH=/Library/Frameworks/GStreamer.framework/lib/pkgconfig:/Library/Frameworks/GStreamer.framework/lib/gstreamer-1.0/pkgconfig:${{ env.PKG_CONFIG_PATH }}" >> "$GITHUB_ENV"
- name: Set Up Cache
uses: hendrikmuhs/ccache-action@v1.2
uses: hendrikmuhs/ccache-action@main
with:
key: ${{ runner.os }}-${{ matrix.BuildType }}
restore-keys: ${{ runner.os }}-${{ matrix.BuildType }}
max-size: 1G
append-timestamp: false
save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
evict-old-files: 'job'

- name: Install Qt
uses: jurplel/install-qt-action@v4
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,13 @@ jobs:
# uses: mozilla-actions/sccache-action@v0.0.5

- name: Set Up Cache
uses: hendrikmuhs/ccache-action@v1.2
uses: hendrikmuhs/ccache-action@main
with:
key: ${{ runner.os }}-${{ matrix.Arch }}-${{ matrix.BuildType }}
restore-keys: ${{ runner.os }}-${{ matrix.Arch }}-${{ matrix.BuildType }}
max-size: 1G
append-timestamp: false
variant: sccache
save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
evict-old-files: 'job'

- name: Install Qt for Windows (x64)
if: matrix.Arch == 'x64'
Expand Down

0 comments on commit b5174b4

Please sign in to comment.