Skip to content

Commit

Permalink
Updated release workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
syntax-tm committed Nov 21, 2023
1 parent 5b77a45 commit fdd3b7e
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/create_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,16 @@ jobs:
- uses: actions/download-artifact@v3
with:
path: artifacts
- name: Create Archive
run: |
$items = Get-ChildItem artifacts
$items | % { Compress-Archive -Path "$($_.FullName)\*" -DestinationPath "$($_.FullName).zip" -Force }
Get-ChildItem -Path artifacts -Filter *.zip | Format-Table
- uses: ncipollo/release-action@v1
with:
artifacts: artifacts/*
artifacts: artifacts/*.zip
bodyFile: ./CHANGELOG.md
draft: true
draft: true
allowUpdates: true
artifactErrorsFailBuild: true

0 comments on commit fdd3b7e

Please sign in to comment.