File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff 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
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
You can’t perform that action at this time.
0 commit comments