Skip to content

Commit e23f0fe

Browse files
committed
remove deprecated set-env from pipeline
1 parent bdeec7e commit e23f0fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/dotnet-core.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
run: dotnet test --no-restore --verbosity normal
2727
- name: Get version
2828
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
29-
run: echo "::set-env name=VERSION::$(git describe --tags --dirty)"
29+
run: echo "VERSION=$(git describe --tags --dirty)" >> $GITHUB_ENV
3030
- name: Pack
3131
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
3232
run: dotnet pack -c Release -o artifacts/ -p:Version=$VERSION

0 commit comments

Comments
 (0)