mirror of https://github.com/aminya/setup-cpp
ci: test on more operating systems
This commit is contained in:
parent
5980f76f4a
commit
8a97f81d68
|
@ -17,7 +17,10 @@ jobs:
|
|||
os:
|
||||
- windows-2022
|
||||
- windows-2019
|
||||
- windows-2016
|
||||
- ubuntu-20.04
|
||||
- ubuntu-18.04
|
||||
- macos-11
|
||||
- macos-10.15
|
||||
node:
|
||||
- 14 # installed on the images
|
||||
|
@ -56,10 +59,12 @@ jobs:
|
|||
|
||||
# Create self-contained executable that bundles Nodejs
|
||||
- name: Create Executable
|
||||
if: "contains(matrix.os, 'windows-2022') || contains(matrix.os, 'ubuntu-20.04') || contains(matrix.os, 'macos-11')"
|
||||
run: |
|
||||
pnpm run pack.exe
|
||||
|
||||
- name: Upload Executable
|
||||
if: "contains(matrix.os, 'windows-2022') || contains(matrix.os, 'ubuntu-20.04') || contains(matrix.os, 'macos-11')"
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
path: |
|
||||
|
|
Loading…
Reference in New Issue