Browse Source

CI: update GH actions checkout and cache to silent warnings.

pull/4620/head
مهدي شينون (Mehdi Chinoune) GitHub 1 year ago
parent
commit
30f80cb546
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 7 deletions
  1. +7
    -7
      .github/workflows/dynamic_arch.yml

+ 7
- 7
.github/workflows/dynamic_arch.yml View File

@@ -26,7 +26,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Print system information
run: |
@@ -54,7 +54,7 @@ jobs:
fi

- name: Compilation cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.ccache
# We include the commit sha in the cache key, as new cache entries are
@@ -200,7 +200,7 @@ jobs:
ccache:p

- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Prepare ccache
# Get cache location of ccache
@@ -213,7 +213,7 @@ jobs:
echo "key=ccache-msys2-${{ matrix.msystem }}-${{ matrix.idx }}-${{ matrix.build-type }}-${{ github.ref }}-${{ github.sha }}" >> $GITHUB_OUTPUT

- name: Restore ccache
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
path: ${{ steps.ccache-prepare.outputs.ccachedir }}
key: ${{ steps.ccache-prepare.outputs.key }}
@@ -267,7 +267,7 @@ jobs:

- name: Save ccache
# Save the cache after we are done (successfully) building
uses: actions/cache/save@v3
uses: actions/cache/save@v4
with:
path: ${{ steps.ccache-prepare.outputs.ccachedir }}
key: ${{ steps.ccache-prepare.outputs.key }}
@@ -312,7 +312,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install Dependencies
run: |
@@ -320,7 +320,7 @@ jobs:
sudo apt-get install -y ccache gcc-${{ matrix.triple }} gfortran-${{ matrix.triple }} libgomp1-${{ matrix.target }}-cross

- name: Compilation cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.ccache
key: ccache-${{ runner.os }}-${{ matrix.target }}-${{ github.ref }}-${{ github.sha }}


Loading…
Cancel
Save