From e267035d16f2e188dac23a35978bf7ec5e6639e2 Mon Sep 17 00:00:00 2001 From: Erik Osterman Date: Fri, 20 Dec 2024 11:58:19 -0600 Subject: [PATCH] add conditionals based on flavor --- .github/workflows/test.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f0869a31ea..c643d4a7f9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -279,13 +279,17 @@ jobs: timeout-minutes: 20 steps: - - name: Download build artifacts + - name: Download build artifacts for ${{ matrix.flavor.target }} uses: actions/download-artifact@v4 with: name: build-artifacts-${{ matrix.flavor.target }} - path: /usr/local/bin + path: ${{ matrix.flavor.target == 'windows' && 'D:\\a\\_temp' || '/usr/local/bin' }} - - name: Set execute permissions on atmos + - name: Add build artifacts directory to PATH for ${{ matrix.flavor.target }} + run: | + echo "${{ matrix.flavor.target == 'windows' && 'D:\\a\\_temp' || '/usr/local/bin' }}" >> $GITHUB_PATH + + - name: Set execute permissions on atmos for ${{ matrix.flavor.target }} if: matrix.flavor.target == 'linux' || matrix.flavor.target == 'macos' run: chmod +x /usr/local/bin/atmos