Skip to content

Commit c270826

Browse files
Test 15
1 parent fd6f787 commit c270826

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/createRelease.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,12 @@ jobs:
4848
upload-assets:
4949
name: Build on ${{ matrix.os }}
5050
needs: create-release
51+
runs-on: ${{ matrix.os }}
5152
strategy:
5253
fail-fast: false
5354
matrix:
54-
os: [windows-latest]
55-
runs-on: ${{ matrix.os }}
55+
os: [macos-latest, ubuntu-latest, windows-latest]
56+
5657
steps:
5758
- name: Checkout repository
5859
uses: actions/checkout@v4
@@ -68,11 +69,11 @@ jobs:
6869
- name: Package artifact
6970
run: npm --color run package
7071

71-
- name: Compress artifact Windows
72+
- name: Compress artifact [Windows]
7273
run: powershell.exe Compress-Archive -Path 'dist/*' -DestinationPath 'artifact.zip'
7374
if: runner.os == 'Windows'
7475

75-
- name: Compress artifact Linux
76+
- name: Compress artifact [Linux]
7677
run: zip -r artifact.zip dist/*
7778
if: runner.os != 'Windows'
7879

@@ -83,5 +84,5 @@ jobs:
8384
with:
8485
upload_url: ${{ needs.create-release.outputs.upload_url }}
8586
asset_path: ./artifact.zip
86-
asset_name: clippy-${{ runner.os }}-${{ needs.create-release.outputs.version }}.zip
87+
asset_name: Clippy-${{ needs.create-release.outputs.version }}-${{ runner.os }}.zip
8788
asset_content_type: application/zip

0 commit comments

Comments
 (0)