Skip to content

Commit

Permalink
Use --prune instead of --keep-trees (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaimergp authored Jul 12, 2024
1 parent 77610d1 commit 0a030b1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
- name: Get arguments
id: args
run: |
echo "keep-trees=$(jq -r '."keep-trees" | join(" ")' versions/${{ matrix.napari-version }}/conda.json)" >> $GITHUB_OUTPUT
echo "prune=$(jq -r '."prune" | join(" ")' versions/${{ matrix.napari-version }}/conda.json)" >> $GITHUB_OUTPUT
echo "subdirs-json=$(jq -c '.subdirs' versions/${{ matrix.napari-version }}/conda.json)" >> $GITHUB_OUTPUT
echo "subdirs=$(jq -r '.subdirs | join(" ")' versions/${{ matrix.napari-version }}/conda.json)" >> $GITHUB_OUTPUT
echo "subchannel-name=napari-${{ matrix.napari-version }}" >> $GITHUB_OUTPUT
Expand All @@ -56,7 +56,7 @@ jobs:
subchannel-name: ${{ steps.args.outputs.subchannel-name }}
channel: conda-forge
subdirs: ${{ steps.args.outputs.subdirs }}
keep-trees: ${{ steps.args.outputs.keep-trees }}
prune-specs: ${{ steps.args.outputs.prune }}
gh-pages-branch: "" # Disable so we do it manually below
served-at: "https://github.com/napari/pins/releases/download/${{ steps.args.outputs.subchannel-name }}"
- name: Get current time
Expand Down
2 changes: 1 addition & 1 deletion versions/v0.4.19/conda.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"win-64",
"noarch"
],
"keep-trees": [
"prune": [
"python=3.9",
"napari=0.4.19"
]
Expand Down
2 changes: 1 addition & 1 deletion versions/v0.5/conda.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"win-64",
"noarch"
],
"keep-trees": [
"prune": [
"python=3.10",
"napari=0.5"
]
Expand Down

0 comments on commit 0a030b1

Please sign in to comment.