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 80b4654 commit 4fd8081
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,14 @@ jobs:
- name: Publish
shell: pwsh
run: |
echo "The version is ${{ env.VERSION }}"
$PUBLISH_OUT = "${pwd}/TO-PACKAGE/"
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}HEC-FDA-${{ env.VERSION }}.zip"
$ZIP_OUT = "${pwd}/HEC-FDA-${{ env.VERSION }}.zip"
echo "ZIP_OUT=$ZIP_OUT" >> $env:GITHUB_ENV
Compress-Archive -Path ${{ env.PUBLISH_OUT }} -DestinationPath $ZIP_OUT
Expand Down

0 comments on commit 4fd8081

Please sign in to comment.