Skip to content

Commit 6261e9c

Browse files
committed
test
1 parent cae6b50 commit 6261e9c

1 file changed

Lines changed: 3 additions & 10 deletions

File tree

.github/workflows/test-csharp.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
pull_request:
88
branches: [ "main" ]
99

10+
env:
11+
VersionSuffix: ${{ github.event_name == 'workflow_dispatch' && 'manualtrigger' || null }}
12+
1013
jobs:
1114
build-ffi:
1215
name: 'Build Regorus FFI: (${{ matrix.runtime.target }})'
@@ -64,16 +67,6 @@ jobs:
6467

6568
- run: echo '${{ steps.stepid.outputs.dotnet-version }}'
6669

67-
# The command to update the Github environment variables is slightly different between Linux/Windows
68-
# We need both for the test_nuget step so set them both here even though the build always runs on Linux
69-
- name: Set VersionSuffix environment variable
70-
if: github.event_name == 'workflow_dispatch' && startswith(matrix.os, 'ubuntu')
71-
run: echo "VersionSuffix=manualtrigger" >> $GITHUB_ENV
72-
73-
- name: Set VersionSuffix environment variable
74-
if: github.event_name == 'workflow_dispatch' && startswith(matrix.os, 'windows')
75-
run: echo "VersionSuffix=manualtrigger" >> $env:GITHUB_ENV
76-
7770
- name: Download regorus ffi shared libraries
7871
uses: actions/download-artifact@v4
7972
with:

0 commit comments

Comments
 (0)