From fd8c3d022668a0e2ac54aaee33b250e8a6e1c288 Mon Sep 17 00:00:00 2001 From: Brennan Beam <64556723+Brennan1994@users.noreply.github.com> Date: Tue, 27 Aug 2024 23:17:14 -0700 Subject: [PATCH] upload to the release --- .github/workflows/Release.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index c9e5041..3bd0c46 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -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 @@ -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