Skip to content

Commit

Permalink
upload to the release
Browse files Browse the repository at this point in the history
  • Loading branch information
Brennan1994 committed Aug 28, 2024
1 parent 7b42c4e commit fd8c3d0
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,16 @@ jobs:
name: USACE.HEC.Consequences-${{ env.VERSION }}-windows-x64
path: ./Consequences/bin/Release/net8.0/win-x64/native/

- name: upload windows artifact
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ github.token }}
with:
upload_url: ${{ steps.create_release.outputs.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

build-linux:
runs-on: ubuntu-latest

Expand Down Expand Up @@ -75,4 +85,14 @@ jobs:
with:
name: USACE.HEC.Consequences-${{ env.VERSION }}-linux-x64
path: ./Consequences/bin/Release/net8.0/linux-x64/native/

- name: upload windows artifact
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ github.token }}
with:
upload_url: ${{ steps.create_release.outputs.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

0 comments on commit fd8c3d0

Please sign in to comment.