Skip to content

Commit

Permalink
fix: usage of deprecated set-env in publish action fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
pamburus committed Jan 3, 2021
1 parent b2ea903 commit 09395d6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ jobs:
if: matrix.os == 'ubuntu-latest'
run: |
cargo install cross
echo "::set-env name=CARGO::cross"
echo "::set-env name=TARGET_FLAGS::--target ${{ matrix.target }}"
echo "::set-env name=TARGET_DIR::./target/${{ matrix.target }}"
echo "CARGO=cross" >> $GITHUB_ENV
echo "TARGET_FLAGS=--target ${{ matrix.target }}" >> $GITHUB_ENV
echo "TARGET_DIR=./target/${{ matrix.target }}" >> $GITHUB_ENV
- name: Build
run: ${{ env.CARGO }} build --release --locked --verbose ${{ env.TARGET_FLAGS }}
Expand Down

0 comments on commit 09395d6

Please sign in to comment.