Skip to content

Commit

Permalink
CI: Fix xplat zipping
Browse files Browse the repository at this point in the history
  • Loading branch information
lilith committed Jun 28, 2023
1 parent b9eecc4 commit 1872674
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/dotnet-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,18 +109,19 @@ jobs:

# Zip the contents of folder host/publish/ into host/Imageflow.Server.Host-${{matrix.os}}-${{ env.ARTIFACT_VERSION }}.zip
- name: Zip Server.Host
run: |
cd host/publish/
zip -r ../${{env.HOST_ZIP_FILE}} .
cd ../..
uses: thedoctor0/[email protected]
with:
type: 'zip'
filename: 'host/${{env.HOST_ZIP_FILE}}'
path: 'host/publish/'

# Upload the publish folder for src/Imageflow.Server.Host to the release artifacts
- name: Upload Server.Host to artifacts
uses: actions/upload-artifact@v3
if: success()
with:
name: ${{env.HOST_ZIP_FILE}}}}
path: host/publish/${{env.HOST_ZIP_FILE}}
path: host/${{env.HOST_ZIP_FILE}}

# If this is a release, upload it to the github release page using the git
- name: Upload ${{env.HOST_ZIP_FILE}} to release
Expand Down

0 comments on commit 1872674

Please sign in to comment.