Skip to content

Commit 5ce271e

Browse files
committed
windows env variables
1 parent fda7047 commit 5ce271e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-and-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ jobs:
100100
101101
- name: define env variables
102102
run: |
103-
echo "APP_VERSION=${{needs.get-version.outputs.APP_VERSION}}" >> $GITHUB_ENV
104-
echo "BUILD_ID=${{needs.get-version.outputs.BUILD_ID}}" >> $GITHUB_ENV
103+
echo "APP_VERSION=${{needs.get-version.outputs.APP_VERSION}}" | Out-File -FilePath $env:GITHUB_ENV -Append
104+
echo "BUILD_ID=${{needs.get-version.outputs.BUILD_ID}}" | Out-File -FilePath $env:GITHUB_ENV -Append
105105
106106
- name: Build Debug and Release
107107
run: msbuild OSPSuite.Core.sln /p:Version=${{env.APP_VERSION}}

0 commit comments

Comments
 (0)