mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-06-15 07:06:36 +00:00
fix cache ordering
This commit is contained in:
parent
2c933289b0
commit
a6da13ffc7
2 changed files with 9 additions and 11 deletions
2
.github/dependabot.yml
vendored
2
.github/dependabot.yml
vendored
|
@ -5,5 +5,5 @@ updates:
|
|||
- package-ecosystem: "cargo"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "daily"
|
||||
interval: "weekly"
|
||||
|
||||
|
|
18
.github/workflows/rust.yml
vendored
18
.github/workflows/rust.yml
vendored
|
@ -43,16 +43,21 @@ jobs:
|
|||
target: ${{ matrix.target }}
|
||||
override: true
|
||||
|
||||
- name: Configure caching
|
||||
- name: Configure cargo caching
|
||||
uses: actions/cache@v2
|
||||
# Caching disabled on macos due to https://github.com/actions/cache/issues/403
|
||||
if: ${{ matrix.os != 'macos-latest' }}
|
||||
with:
|
||||
key: ${{ matrix.os }}-${{ matrix.target }}
|
||||
path: |
|
||||
${{ env.HOME }}/.cargo"
|
||||
target
|
||||
|
||||
- name: Configure vcpkg caching
|
||||
if: ${{ matrix.os == 'windows-latest' }}
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
key: ${{ matrix.os }}-${{ matrix.target }}
|
||||
path: C:/vcpkg
|
||||
|
||||
- name: Install openssl (apt armv7)
|
||||
if: ${{ matrix.target == 'armv7-unknown-linux-gnueabihf' }}
|
||||
uses: ryankurte/action-apt@v0.3.0
|
||||
|
@ -79,13 +84,6 @@ jobs:
|
|||
echo "OPENSSL_ROOT_DIR=C:/vcpkg/installed/x64-windows-static/" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf-8 -Append
|
||||
echo "OPENSSL_STATIC=1" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf-8 -Append
|
||||
|
||||
- name: Cache vcpkg
|
||||
if: ${{ matrix.os == 'windows-latest' }}
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
key: ${{ matrix.os }}-${{ matrix.target }}
|
||||
path: C:/vcpkg
|
||||
|
||||
- name: Build release
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue