Skip to content

Commit 0aae3f3

Browse files
committed
Updated release workflow.
1 parent 5ca1972 commit 0aae3f3

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.github/workflows/create_release.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,20 +59,29 @@ jobs:
5959
version: ${{ needs.setup.outputs.version }}
6060
create-release:
6161
runs-on: windows-latest
62-
needs: [build]
62+
needs: [setup, build]
6363
permissions:
6464
contents: write
6565
steps:
6666
- uses: actions/checkout@v4
6767
- uses: actions/download-artifact@v4
6868
with:
6969
path: artifacts
70-
name: ${{ env.artifact-name }}
70+
# name: ${{ env.artifact-name }}
7171
env:
7272
artifact-name: ${{ needs.build.outputs.artifact-name }}
7373
- name: Create Archive
7474
run: |
7575
$items = Get-ChildItem artifacts
76+
$artifactName = "SAM_${{ needs.setup.outputs.version }}"
77+
78+
Write-Host "Artifacts:"
79+
80+
foreach ($item in $items)
81+
{
82+
Write-Host "- $($PSStyle.Foreground.BrightCyan)$relPath$($PSStyle.Reset)"
83+
}
84+
7685
$items | % { Compress-Archive -Path "$($_.FullName)\*" -DestinationPath "$($_.FullName).zip" -Force }
7786
7887
Get-ChildItem -Path artifacts -Filter *.zip | Format-Table

0 commit comments

Comments
 (0)