Skip to content

Commit

Permalink
Source env file after installing rustup
Browse files Browse the repository at this point in the history
  • Loading branch information
timrogers committed Nov 30, 2024
1 parent 2dd3d25 commit 34f2210
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build_and_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ jobs:
- name: Install rustup (self-hosted runners only)
run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
if: matrix.job.runs_on == 'self-hosted'
- name: Ensure rustup is available in $PATH
run: source "$HOME/.cargo/env"
if: matrix.job.runs_on == 'self-hosted'
- uses: Swatinem/rust-cache@v2
- name: Build in release mode
run: cargo build --release --target=${{ matrix.job.target }}
Expand Down

0 comments on commit 34f2210

Please sign in to comment.