Skip to content

Commit 3f1bc06

Browse files
committed
set env var differently for windows
1 parent d232dab commit 3f1bc06

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/test-csharp.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,12 @@ jobs:
6565
- run: echo '${{ steps.stepid.outputs.dotnet-version }}'
6666

6767
- name: Set VersionSuffix environment variable
68-
if: github.event_name == 'workflow_dispatch'
69-
run: echo "VersionSuffix=manualtrigger" >> $GITHUB_ENV
68+
if: github.event_name == 'workflow_dispatch' && startswith(matrix.os, 'ubuntu')
69+
run: echo "VersionSuffix=manualtrigger" >> $GITHUB_ENV'
70+
71+
- name: Set VersionSuffix environment variable
72+
if: github.event_name == 'workflow_dispatch' && startswith(matrix.os, 'windows')
73+
run: echo "VersionSuffix=manualtrigger" >> $env:GITHUB_ENV
7074

7175
- name: Download regorus ffi shared libraries
7276
uses: actions/download-artifact@v4

0 commit comments

Comments
 (0)