Skip to content

Commit

Permalink
enhance: fix conan lock issue
Browse files Browse the repository at this point in the history
Signed-off-by: Sammy Huang <[email protected]>
  • Loading branch information
yellow-shine committed Jan 16, 2024
1 parent 88c30b4 commit cf2fedc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/code-checker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
echo "corehash=${CORE_HASH}" >> $GITHUB_ENV
echo "Set CCache hash to ${CORE_HASH}"
- name: Cache CCache Volumes
uses: pat-s/always-upload-cache@v3
uses: actions/cache@v3
with:
path: .docker/amd64-ubuntu20.04-ccache
key: ubuntu20.04-ccache-${{ env.corehash }}
Expand All @@ -60,7 +60,7 @@ jobs:
key: ubuntu20.04-go-mod-${{ hashFiles('go.sum, */go.sum') }}
restore-keys: ubuntu20.04-go-mod-
- name: Cache Conan Packages
uses: pat-s/always-upload-cache@v3
uses: actions/cache@v3
with:
path: .docker/amd64-ubuntu20.04-conan
key: ubuntu20.04-conan-${{ hashFiles('internal/core/conanfile.*') }}
Expand All @@ -87,7 +87,7 @@ jobs:
echo "corehash=${CORE_HASH}" >> $GITHUB_ENV
echo "Set CCache hash to ${CORE_HASH}"
- name: Cache CCache Volumes
uses: pat-s/always-upload-cache@v3
uses: actions/cache@v3
with:
path: .docker/amd64-amazonlinux2023-ccache
key: amazonlinux2023-ccache-${{ env.corehash }}
Expand All @@ -105,7 +105,7 @@ jobs:
key: amazonlinux2023-go-mod-${{ hashFiles('go.sum, */go.sum') }}
restore-keys: amazonlinux2023-go-mod-
- name: Cache Conan Packages
uses: pat-s/always-upload-cache@v3
uses: actions/cache@v3
with:
path: .docker/amd64-amazonlinux2023-conan
key: amazonlinux2023-conan-${{ hashFiles('internal/core/conanfile.*') }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,13 @@ jobs:
echo "Set CCache hash to ${CORE_HASH}"
- name: Cache CCache Volumes
# uses: actions/cache@v3
uses: pat-s/always-upload-cache@v3
uses: actions/cache@v3
with:
path: .docker/amd64-ubuntu${{ matrix.ubuntu }}-ccache
key: ubuntu${{ matrix.ubuntu }}-ccache-${{ env.corehash }}
restore-keys: ubuntu${{ matrix.ubuntu }}-ccache-
- name: Cache Conan Packages
uses: pat-s/always-upload-cache@v3
uses: actions/cache@v3
with:
path: .docker/amd64-ubuntu${{ matrix.ubuntu }}-conan
key: ubuntu${{ matrix.ubuntu }}-conan-${{ hashFiles('internal/core/conanfile.*') }}
Expand Down Expand Up @@ -125,7 +125,7 @@ jobs:
unzip code.zip
rm code.zip
- name: Cache Conan Packages
uses: pat-s/always-upload-cache@v3
uses: actions/cache@v3
with:
path: .docker/amd64-ubuntu${{ matrix.ubuntu }}-conan
key: ubuntu${{ matrix.ubuntu }}-conan-${{ hashFiles('internal/core/conanfile.*') }}
Expand Down

0 comments on commit cf2fedc

Please sign in to comment.