fix(ci): do not depend on number of procesors with job name (#1863)

This commit is contained in:
Vaclav Pavlin 2023-07-31 15:04:46 +02:00 committed by GitHub
parent 069c1ad2a5
commit c560af119f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 6 deletions

View File

@ -6,24 +6,23 @@ on:
- 'v*' # "e.g. v0.4"
workflow_dispatch:
env:
NPROC: 2
jobs:
build-and-upload:
strategy:
matrix:
env:
- { NPROC: 2 }
os: [ubuntu-latest, macos-latest]
arch: [amd64]
include:
- os: macos-latest
experimental: false
arch: arm64
runs-on: ${{ matrix.os }}
env: ${{ matrix.env }}
timeout-minutes: 60
name: ${{ matrix.os }} - ${{ matrix.env.NPROC }} processes
name: ${{ matrix.os }} - ${{ matrix.arch }}
steps:
- name: Checkout code