Skip to content

Commit e05d220

Browse files
author
Ibrahim Ethem Gursoy
committed
Refine release workflow for better artifact and asset handling
- In release.yml: - Updated the 'Upload Artifact' step to use a more concise name - Added a new step for uploading assets to GitHub Releases using softprops/action-gh-release - Conditionally execute the 'Upload Assets' step only for tag pushes
1 parent 111848e commit e05d220

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,17 @@ jobs:
3030
- name: Create dist
3131
run: make dist
3232

33-
- name: 'Upload Artifact'
33+
- name: Upload Artifact
3434
uses: actions/upload-artifact@v3
3535
with:
3636
name: publish_dist
3737
path: bin/publish_dist.tar.gz
3838
retention-days: 5
39+
40+
- name: Upload Assets
41+
uses: softprops/action-gh-release@v1
42+
if: startsWith(github.ref, 'refs/tags/')
43+
with:
44+
files: |
45+
bin/publish_dist.tar.gz
46+
LICENSE

0 commit comments

Comments
 (0)