Skip to content

Commit

Permalink
added env
Browse files Browse the repository at this point in the history
  • Loading branch information
emilpriver committed Dec 26, 2023
1 parent 0e8a74b commit 3730ede
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,14 @@ jobs:
run: ${{ matrix.setup }}
- name: Install compiler
if: ${{matrix.os}} == "windows"
id: install_cc
uses: rlalik/setup-cpp-compiler@master
with:
compiler: latest
- name: Add CPP compiler to env
run: |
echo "CC=${{ steps.install_cc.outputs.cc }}" >> $GITHUB_ENV
echo "CCX=${{ steps.install_cc.outputs.ccx }}" >> $GITHUB_ENV
- name: Build
run: cargo build --release --verbose
- name: Package
Expand Down

0 comments on commit 3730ede

Please sign in to comment.