Skip to content

Commit

Permalink
add conditionals based on flavor
Browse files Browse the repository at this point in the history
  • Loading branch information
osterman committed Dec 20, 2024
1 parent cbc1892 commit e267035
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit e267035

Please sign in to comment.