From c38d7cf9c34a1952666918c4fef063b807a65772 Mon Sep 17 00:00:00 2001 From: Matt Troutman Date: Sun, 19 May 2024 03:15:41 -0500 Subject: [PATCH] Updates --- .github/workflows/release.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1961a41..63233b9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 \ No newline at end of file + en \ No newline at end of file