Skip to content

Commit

Permalink
remove deprecated set-env from pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
martinothamar committed Jan 24, 2021
1 parent bdeec7e commit e23f0fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/dotnet-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
run: dotnet test --no-restore --verbosity normal
- name: Get version
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
run: echo "::set-env name=VERSION::$(git describe --tags --dirty)"
run: echo "VERSION=$(git describe --tags --dirty)" >> $GITHUB_ENV
- name: Pack
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
run: dotnet pack -c Release -o artifacts/ -p:Version=$VERSION
Expand Down

0 comments on commit e23f0fe

Please sign in to comment.