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 16
16
17
17
jobs :
18
18
build :
19
- runs-on : ubuntu -latest
19
+ runs-on : windows -latest
20
20
permissions :
21
21
packages : write
22
22
contents : read
35
35
if : startsWith( github.ref, 'refs/tags/v' )
36
36
run : |
37
37
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
40
40
41
41
- name : Restore
42
42
run : dotnet tool restore
Original file line number Diff line number Diff line change 27
27
if : startsWith( github.ref, 'refs/tags/v' )
28
28
run : |
29
29
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
32
32
- name : Restore
33
33
run : dotnet tool restore
34
34
- name : Build
You can’t perform that action at this time.
0 commit comments