Use runner os instead, same thing

This commit is contained in:
Markus Olsson 2023-06-21 11:32:23 +02:00
parent 265c5b9e9d
commit 13fbf663ed

View file

@ -37,7 +37,7 @@ jobs:
- name: Ensure a clean working directory - name: Ensure a clean working directory
run: git diff --name-status --exit-code run: git diff --name-status --exit-code
build: build:
name: ${{ matrix.friendlyName }} ${{ matrix.arch }} name: ${{ runner.os }} ${{ matrix.arch }}
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
permissions: read-all permissions: read-all
strategy: strategy:
@ -46,11 +46,6 @@ jobs:
node: [16.17.1] node: [16.17.1]
os: [macos-11, windows-2019] os: [macos-11, windows-2019]
arch: [x64, arm64] arch: [x64, arm64]
include:
- os: macos-11
friendlyName: macOS
- os: windows-2019
friendlyName: Windows
timeout-minutes: 60 timeout-minutes: 60
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3