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 3f202e9 commit 83f9a08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@ jobs:
run: |
echo "The version is ${{ env.VERSION }}"
$PUBLISH_OUT = "${pwd}/TO-PACKAGE/"
echo "PUBLISH_OUT=$PUBLISH_OUT" >> $GITHUB_ENV
echo "PUBLISH_OUT=$PUBLISH_OUT" >> $env:GITHUB_ENV
dotnet publish -c Release -v quiet /p:Version=${{ env.VERSION }} -o $PUBLISH_OUT ${{ env.PROJECT_NAME }}
- name: Zip Release Package
shell: pwsh
run: |
echo "Published to ${{ env.PUBLISH_OUT }}"
$ZIP_OUT = "${pwd}/PACKAGED/HEC-FDA-${{ env.VERSION }}.zip"
echo "ZIP_OUT=$ZIP_OUT" >> $GITHUB_ENV
echo "ZIP_OUT=$ZIP_OUT" >> $env:GITHUB_ENV
Compress-Archive -Path ${{ env.PUBLISH_OUT }} -DestinationPath $ZIP_OUT
- name: Release
Expand Down

0 comments on commit 83f9a08

Please sign in to comment.