File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1616
1717jobs :
1818 build :
19- runs-on : ubuntu -latest
19+ runs-on : windows -latest
2020 permissions :
2121 packages : write
2222 contents : read
3535 if : startsWith( github.ref, 'refs/tags/v' )
3636 run : |
3737 RELEASE_VERSION="${GITHUB_REF#refs/*/}"
38- echo "RELEASE_VERSION=${RELEASE_VERSION}" >> $ GITHUB_ENV
39- echo "Version=${RELEASE_VERSION:1}" >> $ GITHUB_ENV
38+ echo "RELEASE_VERSION=${RELEASE_VERSION}" | Out-File -FilePath $env: GITHUB_ENV -Append
39+ echo "Version=${RELEASE_VERSION:1}" | Out-File -FilePath $env: GITHUB_ENV -Append
4040
4141 - name : Restore
4242 run : dotnet tool restore
Original file line number Diff line number Diff line change 2727 if : startsWith( github.ref, 'refs/tags/v' )
2828 run : |
2929 RELEASE_VERSION="${GITHUB_REF#refs/*/}"
30- echo "RELEASE_VERSION=${RELEASE_VERSION}" >> $ GITHUB_ENV
31- echo "Version=${RELEASE_VERSION:1}" >> $ GITHUB_ENV
30+ echo "RELEASE_VERSION=${RELEASE_VERSION}" | Out-File -FilePath $env: GITHUB_ENV -Append
31+ echo "Version=${RELEASE_VERSION:1}" | Out-File -FilePath $env: GITHUB_ENV -Append
3232 - name : Restore
3333 run : dotnet tool restore
3434 - name : Build
You can’t perform that action at this time.
0 commit comments