Skip to content

Commit

Permalink
CI: Always use latest cargo-c version
Browse files Browse the repository at this point in the history
Prevents having to update it manually all the time
  • Loading branch information
EwoutH committed Nov 3, 2021
1 parent 5e37113 commit f49f019
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:

- name: Install cargo-c
run: |
$LINK = "https://github.com/lu-zero/cargo-c/releases/download/v0.8.0"
$LINK = "https://github.com/lu-zero/cargo-c/releases/latest/download"
$CARGO_C_FILE = "cargo-c-windows-msvc"
curl -LO "$LINK/$CARGO_C_FILE.zip"
7z e -y "$CARGO_C_FILE.zip" -o"${env:USERPROFILE}\.cargo\bin"
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/rav1e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -181,10 +181,9 @@ jobs:
- name: Install cargo-c
if: matrix.conf == 'cargo-c'
env:
LINK: https://github.com/lu-zero/cargo-c/releases/download
CARGO_C_VERSION: 0.8.0
LINK: https://github.com/lu-zero/cargo-c/releases/latest/download
run: |
curl -L "$LINK/v$CARGO_C_VERSION/cargo-c-linux.tar.gz" |
curl -L "$LINK/cargo-c-linux.tar.gz" |
tar xz -C $HOME/.cargo/bin
- name: Install grcov
if: matrix.conf == 'grcov-coveralls'
Expand Down Expand Up @@ -461,7 +460,7 @@ jobs:
- name: Install cargo-c
if: matrix.conf == 'cargo-c'
run: |
$LINK = "https://github.com/lu-zero/cargo-c/releases/download/v0.8.0"
$LINK = "https://github.com/lu-zero/cargo-c/releases/latest/download"
$CARGO_C_FILE = "cargo-c-windows-msvc"
curl -LO "$LINK/$CARGO_C_FILE.zip"
7z e -y "$CARGO_C_FILE.zip" -o"${env:USERPROFILE}\.cargo\bin"
Expand Down

0 comments on commit f49f019

Please sign in to comment.