summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorAtlasLinden <114031241+AtlasLinden@users.noreply.github.com>2025-05-06 12:31:18 -0700
committerGitHub <noreply@github.com>2025-05-06 12:31:18 -0700
commit469730f18798f0c4baba17759bdedbb3dd342214 (patch)
tree5031a1f1538bcad58d00248f419c8b6d441719a6 /.github
parent2c176c75fc6951388668e41bd8bb59a5190b0f07 (diff)
Separate Build ID step for each OS
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/qatest.yaml18
1 files changed, 15 insertions, 3 deletions
diff --git a/.github/workflows/qatest.yaml b/.github/workflows/qatest.yaml
index 96ce672d4c..f3f93a9c55 100644
--- a/.github/workflows/qatest.yaml
+++ b/.github/workflows/qatest.yaml
@@ -62,9 +62,10 @@ jobs:
github.event_name == 'workflow_dispatch'
steps:
- # Common steps for both OSes
+ # Windows-specific steps
- name: Set Build ID
- shell: bash
+ if: matrix.os == 'windows'
+ shell: pwsh
run: |
if [[ "${{ github.event_name }}" == "workflow_dispatch" ]]; then
echo "BUILD_ID=${{ github.event.inputs.build_id }}" >> $GITHUB_ENV
@@ -74,7 +75,6 @@ jobs:
echo "ARTIFACTS_URL=https://api.github.com/repos/secondlife/viewer/actions/runs/${{ github.event.workflow_run.id }}/artifacts" >> $GITHUB_ENV
fi
- # Windows-specific steps
- name: Temporarily Allow PowerShell Scripts (Windows)
if: matrix.os == 'windows'
shell: pwsh
@@ -213,6 +213,18 @@ jobs:
python "${{ matrix.install-path }}\runTests.py"
# Mac-specific steps
+ - name: Set Build ID (Mac)
+ if: matrix.os == 'mac'
+ shell: bash
+ run: |
+ if [[ "${{ github.event_name }}" == "workflow_dispatch" ]]; then
+ echo "BUILD_ID=${{ github.event.inputs.build_id }}" >> $GITHUB_ENV
+ echo "ARTIFACTS_URL=https://api.github.com/repos/secondlife/viewer/actions/runs/${{ github.event.inputs.build_id }}/artifacts" >> $GITHUB_ENV
+ else
+ echo "BUILD_ID=${{ github.event.workflow_run.id }}" >> $GITHUB_ENV
+ echo "ARTIFACTS_URL=https://api.github.com/repos/secondlife/viewer/actions/runs/${{ github.event.workflow_run.id }}/artifacts" >> $GITHUB_ENV
+ fi
+
- name: Verify viewer-sikulix-main Exists (Mac)
if: matrix.os == 'mac'
shell: bash