Skip to content

Commit

Permalink
CI: Change both pixi workflows to only write cache on push to main
Browse files Browse the repository at this point in the history
CI: Revert changes on cache writing

CI: Final test before squashing
  • Loading branch information
JuLieAlgebra committed Mar 11, 2024
1 parent 1d6c276 commit 706296c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/deploy_docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,7 @@ jobs:
- name: Install Pixi
uses: prefix-dev/[email protected]
with:
<<<<<<< Updated upstream
pixi-version: ${{ env.PIXI_VERSION }}
=======
pixi-version: ${{ env.PIXI_version }}
frozen: true
>>>>>>> Stashed changes
cache: true
cache-write: ${{ github.event_name == 'push' && github.ref_name == 'main' }}

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
with:
pixi-version: ${{ env.PIXI_version }}
cache: true
cache-write: ${{ github.event_name == 'push' && github.ref_name == 'main' }}

- name: Install repository
run: |
Expand Down

0 comments on commit 706296c

Please sign in to comment.