Skip to content

Commit

Permalink
try a simpler naming scheme for the zip upload step
Browse files Browse the repository at this point in the history
  • Loading branch information
agl-alexglopez committed Jul 10, 2024
1 parent 507721b commit dc2c150
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Create Release Zip
run: |
git archive --format=zip --output=str_view-${GITHUB_REF#refs/tags/}.zip release-${GITHUB_REF#refs/tags/}
git archive --format=zip --output=str_view.zip release-${GITHUB_REF#refs/tags/}
- name: Create Release
id: create_release
Expand All @@ -51,8 +51,8 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
asset_path: ./str_view-${GITHUB_REF#refs/tags/}.zip
asset_name: str_view-${GITHUB_REF#refs/tags/}.zip
asset_path: ./str_view.zip
asset_name: str_view.zip
asset_content_type: application/zip

- name: Delete Tag Branch
Expand Down

0 comments on commit dc2c150

Please sign in to comment.