From 8295dd38ed56c1cac994abf4d87daf90573521ad Mon Sep 17 00:00:00 2001 From: Brennan Beam <64556723+Brennan1994@users.noreply.github.com> Date: Tue, 27 Aug 2024 23:25:24 -0700 Subject: [PATCH] include upload url --- .github/workflows/Release.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index 3bd0c46..bb37ac3 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -43,11 +43,9 @@ jobs: path: ./Consequences/bin/Release/net8.0/win-x64/native/ - name: upload windows artifact - uses: actions/upload-release-asset@v1 - env: - GITHUB_TOKEN: ${{ github.token }} + uses: actions/upload-release-asset@v1.0.2 with: - upload_url: ${{ steps.create_release.outputs.upload_url }} + upload_url: ${{ github.event.release.upload_url }} asset_path: ./Consequences/bin/Release/net8.0/win-x64/native/ asset_name: USACE.HEC.Consequences-${{ env.VERSION }}-windows-x64 asset_content_type: application/zip @@ -87,11 +85,9 @@ jobs: path: ./Consequences/bin/Release/net8.0/linux-x64/native/ - name: upload windows artifact - uses: actions/upload-release-asset@v1 - env: - GITHUB_TOKEN: ${{ github.token }} + uses: actions/upload-release-asset@v1.0.2 with: - upload_url: ${{ steps.create_release.outputs.upload_url }} + upload_url: ${{ github.event.release.upload_url }} asset_path: ./Consequences/bin/Release/net8.0/linux-x64/native/ asset_name: USACE.HEC.Consequences-${{ env.VERSION }}-linux-x64 asset_content_type: application/zip