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