Skip to content

Commit

Permalink
ci: Upload the packaged release to the Github release
Browse files Browse the repository at this point in the history
  • Loading branch information
killij authored Jan 15, 2024
1 parent a7e00f4 commit 1ed3336
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/dotnet-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,17 @@ jobs:
working-directory: ./src

- name: Zip output
run: zip -r ../${{ env.RELEASE_TAG }}.zip ./
run: zip -r ../${{ env.RELEASE_TAG }}.build.zip ./
working-directory: ./src/publish

- name: Upload artifacts
uses: actions/upload-artifact@v3
- name: Upload to release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
name: resource-indexing-deployment
path: ./src/${{ env.RELEASE_TAG }}.zip
files: ./src/${{ env.RELEASE_TAG }}.build.zip

# - name: Upload artifacts
# uses: actions/upload-artifact@v3
# with:
# name: resource-indexing-deployment
# path: ./src/${{ env.RELEASE_TAG }}.zip

0 comments on commit 1ed3336

Please sign in to comment.