Skip to content

Commit

Permalink
fix release zip file content and name
Browse files Browse the repository at this point in the history
  • Loading branch information
jamowei committed Dec 6, 2024
1 parent 70190f8 commit d25d19c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/buildAndRelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ jobs:
- name: Zip the out directory
if: startsWith(github.ref, 'refs/tags/v')
run: |
zip -r ${{ github.ref_name }}.zip out
cd out
zip -r ../${{ github.repository }}-${{ github.ref_name }}.zip *
- name: Create GitHub Release
uses: softprops/action-gh-release@v2
Expand All @@ -47,7 +48,7 @@ jobs:
prerelease: false
#body_path: CHANGELOG.md
files: |
${{ github.ref_name }}.zip
${{ github.repository }}-${{ github.ref_name }}.zip
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
Expand Down

0 comments on commit d25d19c

Please sign in to comment.