Skip to content

Commit

Permalink
Switch CI to use setup-pixi action (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
traversaro authored Nov 15, 2023
1 parent 5eddb07 commit d3ba556
Showing 1 changed file with 3 additions and 14 deletions.
17 changes: 3 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,9 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Install pixi [Linux&macOS]
if: contains(matrix.os, 'macos') || contains(matrix.os, 'ubuntu')
shell: bash -l {0}
run: |
curl -fsSL https://raw.githubusercontent.com/prefix-dev/pixi/main/install/install.sh | bash
echo "$HOME/.pixi/bin" >> $GITHUB_PATH
- name: Install pixi [Windows]
if: contains(matrix.os, 'windows')
shell: pwsh
run: |
curl https://raw.githubusercontent.com/prefix-dev/pixi/main/install/install.ps1 -o install.ps1
./install.ps1
"$env:LOCALAPPDATA\pixi\bin" >> $env:GITHUB_PATH
- uses: prefix-dev/setup-pixi@v0.4.1
with:
cache: true

- name: Build and Run
shell: bash -l {0}
Expand Down

0 comments on commit d3ba556

Please sign in to comment.