File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change 62
62
github.event_name == 'workflow_dispatch'
63
63
64
64
steps :
65
- # Common steps for both OSes
65
+ # Windows-specific steps
66
66
- name : Set Build ID
67
- shell : bash
67
+ if : matrix.os == 'windows'
68
+ shell : pwsh
68
69
run : |
69
70
if [[ "${{ github.event_name }}" == "workflow_dispatch" ]]; then
70
71
echo "BUILD_ID=${{ github.event.inputs.build_id }}" >> $GITHUB_ENV
74
75
echo "ARTIFACTS_URL=https://api.github.com/repos/secondlife/viewer/actions/runs/${{ github.event.workflow_run.id }}/artifacts" >> $GITHUB_ENV
75
76
fi
76
77
77
- # Windows-specific steps
78
78
- name : Temporarily Allow PowerShell Scripts (Windows)
79
79
if : matrix.os == 'windows'
80
80
shell : pwsh
@@ -213,6 +213,18 @@ jobs:
213
213
python "${{ matrix.install-path }}\runTests.py"
214
214
215
215
# Mac-specific steps
216
+ - name : Set Build ID (Mac)
217
+ if : matrix.os == 'mac'
218
+ shell : bash
219
+ run : |
220
+ if [[ "${{ github.event_name }}" == "workflow_dispatch" ]]; then
221
+ echo "BUILD_ID=${{ github.event.inputs.build_id }}" >> $GITHUB_ENV
222
+ echo "ARTIFACTS_URL=https://api.github.com/repos/secondlife/viewer/actions/runs/${{ github.event.inputs.build_id }}/artifacts" >> $GITHUB_ENV
223
+ else
224
+ echo "BUILD_ID=${{ github.event.workflow_run.id }}" >> $GITHUB_ENV
225
+ echo "ARTIFACTS_URL=https://api.github.com/repos/secondlife/viewer/actions/runs/${{ github.event.workflow_run.id }}/artifacts" >> $GITHUB_ENV
226
+ fi
227
+
216
228
- name : Verify viewer-sikulix-main Exists (Mac)
217
229
if : matrix.os == 'mac'
218
230
shell : bash
You can’t perform that action at this time.
0 commit comments