Skip to content

Commit c95b8df

Browse files
committed
OK, so you can't put the tag name in the filename.
This is because the tag starts `refs/tags/`
1 parent 4f99f95 commit c95b8df

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/kicad-release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ jobs:
3131
prerelease: false
3232
- name: Build zip file
3333
run: |
34-
zip -r --junk-paths neotron-common-hardware-release-${{ github.ref }}.zip docs/
34+
zip -r --junk-paths neotron-common-hardware-release.zip docs/
3535
- name: Upload Release
3636
id: upload-release-asset
3737
uses: actions/upload-release-asset@v1
3838
env:
3939
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4040
with:
4141
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing its 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
42-
asset_path: ./neotron-common-hardware-release-${{ github.ref }}.zip
43-
asset_name: neotron-common-hardware-release-${{ github.ref }}.zip
42+
asset_path: ./neotron-common-hardware-release.zip
43+
asset_name: neotron-common-hardware-release.zip
4444
asset_content_type: application/zip

0 commit comments

Comments
 (0)