Skip to content

Commit

Permalink
ci(release): fix artifact download
Browse files Browse the repository at this point in the history
  • Loading branch information
wpbonelli committed Feb 6, 2025
1 parent 0bc5c4a commit 8ed8e88
Showing 1 changed file with 15 additions and 12 deletions.
27 changes: 15 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -571,24 +571,27 @@ jobs:
fi
echo "ostag=$ostag" >> $GITHUB_OUTPUT
- name: Download artifacts
- name: Download binaries
uses: actions/download-artifact@v4
with:
name: bin
path: ${{ needs.build.outputs.distname }}_${{ steps.ostag.outputs.ostag }}

- name: Download docs
uses: actions/download-artifact@v4
with:
name: doc
path: ${{ needs.build.outputs.distname }}_${{ steps.ostag.outputs.ostag }}

- name: Download deprecations
uses: actions/download-artifact@v4
with:
name: deprecations
path: ${{ needs.build.outputs.distname }}_${{ steps.ostag.outputs.ostag }}

- name: Select artifacts
- name: List artifacts
working-directory: ${{ needs.build.outputs.distname }}_${{ steps.ostag.outputs.ostag }}
run: |
echo "selecting ${{ steps.ostag.outputs.ostag }} artifacts"
# remove dists for other systems
rm -rf ${{ needs.build.outputs.distname }}_*
# remove release notes
rm -rf release_notes
# rename dist bin directory
mv bin-${{ steps.ostag.outputs.ostag }} bin
# remove binaries for other systems
rm -rf bin-*
echo "dist directory contains:"
ls
Expand Down

0 comments on commit 8ed8e88

Please sign in to comment.