Skip to content

Commit

Permalink
add demo
Browse files Browse the repository at this point in the history
  • Loading branch information
altunenes committed Apr 21, 2024
1 parent 12cc11a commit f06b549
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,18 @@ jobs:

- name: Zip assets
run: |
cd release
if [ "${{ runner.os }}" = "Windows" ]; then
Compress-Archive -Path "${{ matrix.bin }}/*" -DestinationPath "${{ matrix.bin }}-${{ matrix.os }}.zip"
else
zip -r "${{ matrix.bin }}-${{ matrix.os }}.zip" "${{ matrix.bin }}"
fi
shell: pwsh
if ("${{ runner.os }}" -eq "Windows") {
Compress-Archive -Path "release/${{ matrix.bin }}/*" -DestinationPath "${{ matrix.bin }}-${{ matrix.os }}.zip"
} else {
zip -r "${{ matrix.bin }}-${{ matrix.os }}.zip" "release/${{ matrix.bin }}"
}
shell: pwsh

- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: ${{ matrix.bin }}-${{ matrix.os }}
path: "${{ matrix.bin }}-${{ matrix.os }}.zip"

- name: Upload artifact
uses: actions/upload-artifact@v2
Expand Down

0 comments on commit f06b549

Please sign in to comment.