Skip to content

Commit

Permalink
include upload url
Browse files Browse the repository at this point in the history
  • Loading branch information
Brennan1994 committed Aug 28, 2024
1 parent fd8c3d0 commit 8295dd3
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
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
Expand Down Expand Up @@ -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/[email protected]
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
Expand Down

0 comments on commit 8295dd3

Please sign in to comment.