Adding github action to publish releases merged into main

This commit is contained in:
Matt Troutman 2024-07-21 02:30:21 -05:00
parent e813d61b35
commit 416c1b1f1c
Signed by: trtmn
SSH Key Fingerprint: SHA256:cgYdsbnbA0S6X4anVowEAntjEpGV7nMyk2NW6ZYoNjE

View File

@ -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