Skip to content

Commit

Permalink
Fix pixi install on self-hosted runners (#886)
Browse files Browse the repository at this point in the history
* Try to fix self-hosted action

* dummy commit

Signed-off-by: Morten Enemark Lund <[email protected]>

* Update test-forks.yml

Signed-off-by: Morten Enemark Lund <[email protected]>

* Update test-self-hosted.yml

Signed-off-by: Morten Enemark Lund <[email protected]>

---------

Signed-off-by: Morten Enemark Lund <[email protected]>
  • Loading branch information
melund authored Dec 5, 2023
1 parent d3f5cec commit 485d0d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-forks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ jobs:
runs-on: windows-latest

steps:

- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
Expand All @@ -34,6 +33,7 @@ jobs:

- uses: prefix-dev/[email protected]
with:
post-cleanup: true
cache: false

- name: Run AMMR tests
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/test-self-hosted.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ concurrency:
jobs:
test:
# Run all private AMMR forks on self-hosted runners
if: ${{ github.repository_owner == 'anybody' && github.repository != 'anybody/ammr' }}
if: ${{ (github.event_name == 'workflow_dispatch') || (github.repository_owner == 'anybody' && github.repository != 'anybody/ammr') }}

strategy:
fail-fast: false
Expand Down Expand Up @@ -54,7 +54,6 @@ jobs:
cache: true
cache-write: ${{ github.event_name == 'push' && github.ref_name == 'master' }}
post-cleanup: true
pixi-bin-path: ${{ runner.temp }}/bin/pixi

- name: Run AMMR tests
run: |
Expand Down

0 comments on commit 485d0d6

Please sign in to comment.