Skip to content

Commit 5b5395f

Browse files
committed
use main cache action
1 parent 6c4592e commit 5b5395f

1 file changed

Lines changed: 1 addition & 11 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
vcpkgGitCommitId: "f3e10653cc27d62a37a3763cd84b38bca07c6075"
2121
vcpkgDirectory: "${{ github.workspace }}/vcpkg"
2222

23-
- name: Restore vcpkg cache
23+
- name: Use vcpkg cache
2424
uses: actions/cache/restore@v5
2525
with:
2626
path: |
@@ -49,16 +49,6 @@ jobs:
4949
cp vcpkg/packages/*_x64-linux/lib/*.so* artifacts/libs/ || true
5050
ls -l artifacts/libs || true
5151
52-
- name: Save vcpkg cache
53-
if: ${{ runner.os == 'Linux' && github.job == 'build' }}
54-
uses: actions/cache/save@v5
55-
with:
56-
path: |
57-
${{ github.workspace }}/vcpkg/packages
58-
${{ github.workspace }}/vcpkg/downloads
59-
${{ github.workspace }}/build/vcpkg_installed
60-
key: vcpkg-${{ runner.os }}-${{ github.job }}-${{ hashFiles('vcpkg.json') }}
61-
6252
- uses: actions/upload-artifact@v7
6353
with:
6454
name: cubicdiscord-linux

0 commit comments

Comments
 (0)