Adding github action to publish releases merged into main
This commit is contained in:
parent
e813d61b35
commit
416c1b1f1c
3
.github/workflows/publish-release.yml
vendored
3
.github/workflows/publish-release.yml
vendored
|
@ -26,6 +26,7 @@ jobs:
|
|||
zip -r generated-fonts.zip ./generated\ fonts/
|
||||
|
||||
- name: Create Release
|
||||
id: create_release # Ensure this step has an ID
|
||||
uses: actions/create-release@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
@ -40,7 +41,7 @@ jobs:
|
|||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }} # Correctly reference the upload_url
|
||||
asset_path: ./generated-fonts.zip
|
||||
asset_name: generated-fonts.zip
|
||||
asset_content_type: application/zip
|
Loading…
Reference in New Issue
Block a user