Skip to content

Commit

Permalink
ci: install dependencies after checking version number
Browse files Browse the repository at this point in the history
This way the workflow fail faster if the version number is incorrect.
  • Loading branch information
plusvic committed Apr 4, 2024
1 parent ec3e1b6 commit 452d0f5
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,6 @@ jobs:
- name: Checkout sources
uses: actions/checkout@v4

- name: Install dependencies
id: vcpkg
uses: johnwason/vcpkg-action@v6
with:
pkgs: openssl
triplet: ${{ matrix.vcpkg_openssl_triplet }}
token: ${{ github.token }}

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@master
with:
Expand All @@ -62,6 +54,14 @@ jobs:
exit 1
fi
- name: Install dependencies
id: vcpkg
uses: johnwason/vcpkg-action@v6
with:
pkgs: openssl
triplet: ${{ matrix.vcpkg_openssl_triplet }}
token: ${{ github.token }}

- name: Build
run: cargo build --bin yr --profile release-lto --target ${{ matrix.target }} ${{ matrix.args }}
env:
Expand Down

0 comments on commit 452d0f5

Please sign in to comment.