Skip to content

Commit

Permalink
Download all artifacts together
Browse files Browse the repository at this point in the history
  • Loading branch information
jaimergp committed Jun 14, 2024
1 parent 559f066 commit f4d1310
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
utcOffset: "+00:00"
- uses: actions/upload-artifact@v4
with:
name: subchannel-${{ steps.args.outputs.subchannel-name }}
name: ${{ steps.args.outputs.subchannel-name }}
path: ${{ steps.subchannel.outputs.output-directory }}

publish-website:
Expand All @@ -76,15 +76,11 @@ jobs:
needs: [build]
permissions:
contents: write # to deploy to GH Pages
strategy:
matrix:
version: ${{ fromJson(needs.build.outputs.versions) }}
steps:
- name: Retrieve release distributions
uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
with:
name: subchannel-${{ needs.build.outputs.subchannel-prefix }}${{ matrix.version }}
path: pub/
pattern: "${{ needs.build.outputs.subchannel-prefix }}*"
- name: List website files
run: ls -alh pub/
- uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4.0.0
Expand Down Expand Up @@ -114,7 +110,7 @@ jobs:
- name: Retrieve release distributions
uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
with:
name: subchannel-${{ needs.build.outputs.subchannel-prefix }}${{ matrix.version }}
name: "${{ needs.build.outputs.subchannel-prefix }}${{ matrix.version }}"
- name: List repodata files
run: ls -alh ${{ matrix.subdir }}/repodata.*
- name: Upload conda repodata for ${{ matrix.subdir }}
Expand Down

0 comments on commit f4d1310

Please sign in to comment.