Skip to content

Commit

Permalink
workflows upgraded to actions/cache@v4
Browse files Browse the repository at this point in the history
  • Loading branch information
silverqx committed Jun 19, 2024
1 parent 8a31330 commit 9c312dc
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 27 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/clang-cl-qt6.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ jobs:
"Hash=$hash" >> $env:GITHUB_OUTPUT
- name: PostgreSQL SSL certificates restore cache
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
id: openssl-cache-postgresql-certificates
with:
path: |
Expand Down Expand Up @@ -159,7 +159,7 @@ jobs:
# The actions/cache/save allows to use the Move-Item during the install step
- name: PostgreSQL SSL certificates save cache
if: steps.openssl-cache-postgresql-certificates.outputs.cache-hit != 'true'
uses: actions/cache/save@v3
uses: actions/cache/save@v4
with:
path: |
${{ env.folder_path }}/*.crt
Expand Down Expand Up @@ -320,7 +320,7 @@ jobs:
"Hash=$hash" >> $env:GITHUB_OUTPUT
- name: MySQL SSL certificates restore cache
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
id: openssl-cache-mysql-certificates
with:
path: |
Expand Down Expand Up @@ -383,7 +383,7 @@ jobs:
# The actions/cache/save allows to use the Move-Item during the install step
- name: MySQL SSL certificates save cache
if: steps.openssl-cache-mysql-certificates.outputs.cache-hit != 'true'
uses: actions/cache/save@v3
uses: actions/cache/save@v4
with:
path: |
${{ env.folder_path }}/*.pem
Expand Down Expand Up @@ -451,7 +451,7 @@ jobs:
URL_MYSQL_TIMEZONE_TABLES: ${{ secrets.URL_MYSQL_TIMEZONE_TABLES }}

- name: MySQL time zone POSIX tables restore cache (download)
uses: actions/cache@v3
uses: actions/cache@v4
id: downloads-cache-mysql-timezone-tables
with:
path: ${{ env.extracted_folder }}
Expand Down Expand Up @@ -597,7 +597,7 @@ jobs:
DB_MYSQL_USERNAME: ${{ secrets.DB_MYSQL_USERNAME }}

- name: QMYSQL driver DLLs restore cache
uses: actions/cache@v3
uses: actions/cache@v4
id: compiles-cache-qmysql-dlls
with:
path: |
Expand All @@ -620,7 +620,7 @@ jobs:
- name: Cache LLVM and Clang
id: llvm-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
C:/Program Files/LLVM
Expand Down Expand Up @@ -648,7 +648,7 @@ jobs:
Write-Output '::endgroup::'
- name: Ccache restore cache 🕺
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ env.cache_path }}
key: ${{ runner.os }}-${{ env.image_os }}-ccache-${{ env.cache_name }}-${{ github.run_id }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linux-qt5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ jobs:
echo "ImageOS=$ImageOS" >> $GITHUB_OUTPUT
- name: Ccache restore cache 🕺
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ env.cache_path }}
key: ${{ runner.os }}-${{ env.image_os }}-ccache-${{ env.cache_name }}-${{ github.run_id }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/linux-qt6.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ jobs:
echo "Hash=$hash" >> $GITHUB_OUTPUT
- name: PostgreSQL SSL certificates restore cache
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
id: openssl-cache-postgresql-certificates
with:
path: |
Expand Down Expand Up @@ -208,7 +208,7 @@ jobs:
# The actions/cache/save allows to use the Move-Item during the install step
- name: PostgreSQL SSL certificates save cache
if: steps.openssl-cache-postgresql-certificates.outputs.cache-hit != 'true'
uses: actions/cache/save@v3
uses: actions/cache/save@v4
with:
path: |
${{ env.folder_path }}/*.crt
Expand Down Expand Up @@ -354,7 +354,7 @@ jobs:
echo "Hash=$hash" >> $GITHUB_OUTPUT
- name: MySQL SSL certificates restore cache
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
id: openssl-cache-mysql-certificates
with:
path: |
Expand Down Expand Up @@ -413,7 +413,7 @@ jobs:
# The actions/cache/save allows to use the Move-Item during the install step
- name: MySQL SSL certificates save cache
if: steps.openssl-cache-mysql-certificates.outputs.cache-hit != 'true'
uses: actions/cache/save@v3
uses: actions/cache/save@v4
with:
path: |
${{ env.folder_path }}/*.pem
Expand Down Expand Up @@ -596,7 +596,7 @@ jobs:
echo "ImageOS=$ImageOS" >> $GITHUB_OUTPUT
- name: Ccache restore cache 🕺
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ env.cache_path }}
key: ${{ runner.os }}-${{ env.image_os }}-ccache-${{ env.cache_name }}-${{ github.run_id }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/msvc2019-qt5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ jobs:
URL_MYSQL_TIMEZONE_TABLES: ${{ secrets.URL_MYSQL_TIMEZONE_TABLES }}

- name: MySQL time zone POSIX tables restore cache (download)
uses: actions/cache@v3
uses: actions/cache@v4
id: downloads-cache-mysql-timezone-tables
with:
path: ${{ env.extracted_folder }}
Expand Down Expand Up @@ -304,7 +304,7 @@ jobs:
URL_CACHE_HASH_WINDOWS: ${{ secrets.URL_CACHE_HASH_WINDOWS }}

- name: QMYSQL driver dlls restore cache (download)
uses: actions/cache@v3
uses: actions/cache@v4
id: downloads-cache-qmysql-dlls
with:
path: ${{ env.archive_filepath }}
Expand Down Expand Up @@ -347,7 +347,7 @@ jobs:
URL_CACHE_HASH_WINDOWS: ${{ secrets.URL_CACHE_HASH_WINDOWS }}

- name: MySQL 8 libmysql.dll restore cache
uses: actions/cache@v3
uses: actions/cache@v4
id: downloads-cache-mysql_8-libmysql-dll
with:
path: ${{ env.archive_filepath }}
Expand Down Expand Up @@ -393,7 +393,7 @@ jobs:
Write-Output '::endgroup::'
- name: Ccache restore cache 🕺
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ env.cache_path }}
key: ${{ runner.os }}-${{ env.image_os }}-ccache-${{ env.cache_name }}-${{ github.run_id }}
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/msvc2022-qt6.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ jobs:
"Hash=$hash" >> $env:GITHUB_OUTPUT
- name: PostgreSQL SSL certificates restore cache
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
id: openssl-cache-postgresql-certificates
with:
path: |
Expand Down Expand Up @@ -176,7 +176,7 @@ jobs:
# The actions/cache/save allows to use the Move-Item during the install step
- name: PostgreSQL SSL certificates save cache
if: steps.openssl-cache-postgresql-certificates.outputs.cache-hit != 'true'
uses: actions/cache/save@v3
uses: actions/cache/save@v4
with:
path: |
${{ env.folder_path }}/*.crt
Expand Down Expand Up @@ -339,7 +339,7 @@ jobs:
"Hash=$hash" >> $env:GITHUB_OUTPUT
- name: MySQL SSL certificates restore cache
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
id: openssl-cache-mysql-certificates
with:
path: |
Expand Down Expand Up @@ -402,7 +402,7 @@ jobs:
# The actions/cache/save allows to use the Move-Item during the install step
- name: MySQL SSL certificates save cache
if: steps.openssl-cache-mysql-certificates.outputs.cache-hit != 'true'
uses: actions/cache/save@v3
uses: actions/cache/save@v4
with:
path: |
${{ env.folder_path }}/*.pem
Expand Down Expand Up @@ -470,7 +470,7 @@ jobs:
URL_MYSQL_TIMEZONE_TABLES: ${{ secrets.URL_MYSQL_TIMEZONE_TABLES }}

- name: MySQL time zone POSIX tables restore cache (download)
uses: actions/cache@v3
uses: actions/cache@v4
id: downloads-cache-mysql-timezone-tables
with:
path: ${{ env.extracted_folder }}
Expand Down Expand Up @@ -616,7 +616,7 @@ jobs:
DB_MYSQL_USERNAME: ${{ secrets.DB_MYSQL_USERNAME }}

- name: QMYSQL driver DLLs restore cache
uses: actions/cache@v3
uses: actions/cache@v4
id: compiles-cache-qmysql-dlls
with:
path: |
Expand Down Expand Up @@ -652,7 +652,7 @@ jobs:
Write-Output '::endgroup::'
- name: Ccache restore cache 🕺
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ env.cache_path }}
key: ${{ runner.os }}-${{ env.image_os }}-ccache-${{ env.cache_name }}-${{ github.run_id }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/msys2-ucrt64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ jobs:
URL_MYSQL_TIMEZONE_TABLES: ${{ secrets.URL_MYSQL_TIMEZONE_TABLES }}

- name: MySQL time zone POSIX tables restore cache (download)
uses: actions/cache@v3
uses: actions/cache@v4
id: downloads-cache-mysql-timezone-tables
with:
path: ${{ env.extracted_folder }}
Expand Down Expand Up @@ -327,7 +327,7 @@ jobs:
echo "ImageOS=$ImageOS" >> $GITHUB_OUTPUT
- name: Ccache restore cache 🕺
uses: actions/cache@v3
uses: actions/cache@v4
with:
# This path is ok also for MSYS2 shells
path: ${{ env.cache_path }}
Expand Down

0 comments on commit 9c312dc

Please sign in to comment.