This commit is contained in:
Matt Troutman 2024-05-19 03:15:41 -05:00
parent 090b236c60
commit c38d7cf9c3
Signed by: trtmn
SSH Key Fingerprint: SHA256:cgYdsbnbA0S6X4anVowEAntjEpGV7nMyk2NW6ZYoNjE

View File

@ -20,7 +20,8 @@ jobs:
const { sha } = context
const tag = `release-${sha.substring(0, 7)}`
await github.git.createRef({
...context.repo,
owner: context.repo.owner,
repo: context.repo.repo,
ref: `refs/tags/${tag}`,
sha: sha
})
@ -40,10 +41,4 @@ jobs:
- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./dist/your-asset.zip # replace with the path to your asset
asset_name: your-asset.zip # replace with the name of your asset
asset_content_type: application/zip
en