Skip to content

Commit

Permalink
Update Release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Brennan1994 authored Sep 11, 2024
1 parent a197cb8 commit 333cd83
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- name: Zip Release Package
shell: pwsh
run: |
$SOURCE_PATH ="${pwd}/Consequences/bin/Release/net8.0/win-x64/native/"
$SOURCE_PATH ="${pwd}/Consequences/bin/Release/net8.0/win-x64/native/*"
$DEST_PATH = "${pwd}/USACE.HEC.Consequences-${{env.VERSION}}-windows-x64.zip"
Compress-Archive -Path $SOURCE_PATH -DestinationPath $DEST_PATH
echo "PACKAGE=$DEST_PATH" >> $env:GITHUB_ENV
Expand Down Expand Up @@ -75,11 +75,11 @@ jobs:
- name: Zip Release Package
shell: bash
run: |
SRC_PATH="./Consequences/bin/Release/net8.0/linux-x64/native/"
SRC_PATH="./Consequences/bin/Release/net8.0/linux-x64/native/*"
PKG_NAME="USACE.HEC.Consequences-${{ env.VERSION }}-linux-x64.zip"
FULL_PKG="${SRC_PATH}${PKG_NAME}"
echo "FULL_PKG=${FULL_PKG}" >> $GITHUB_ENV
zip -r $FULL_PKG $SRC_PATH
zip $FULL_PKG $SRC_PATH
- name: Release
uses: softprops/action-gh-release@v2
Expand Down

0 comments on commit 333cd83

Please sign in to comment.