Skip to content

Commit be9cb1b

Browse files
committed
fix: changed the release yaml to collect artifacts to publish and then publish them altogether
1 parent 65c71ed commit be9cb1b

1 file changed

Lines changed: 15 additions & 4 deletions

File tree

.github/workflows/release.yaml

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,20 @@ jobs:
6565
name: ${{ steps.build-crate.outputs.file-name }}
6666
path: ${{ steps.build-crate.outputs.file-path }}
6767

68-
- name: Publish archives and packages
68+
publish_release:
69+
name: Create GitHub Release
70+
needs: build_release
71+
runs-on: ubuntu-latest
72+
steps:
73+
- name: Download all artifacts
74+
uses: actions/download-artifact@v4
75+
with:
76+
path: artifacts
77+
78+
- name: List downloaded artifacts
79+
run: find artifacts -type f | sort
80+
81+
- name: Publish GitHub Release
6982
uses: softprops/action-gh-release@v1
7083
with:
71-
files: |
72-
${{ steps.build-crate.outputs.file-path }}
73-
if: startsWith(github.ref, 'refs/tags/')
84+
files: artifacts/**/*

0 commit comments

Comments
 (0)