mirror of https://github.com/google/gemma.cpp.git
Fix concurrency key in GitHub Actions.
Use matrix configuration in concurrency key.
This commit is contained in:
parent
74b27074e1
commit
c08de58e6a
|
|
@ -1,11 +1,11 @@
|
|||
name: Build
|
||||
name: build
|
||||
|
||||
# Trigger on push, pull request, or via manual dispatch.
|
||||
on: [push, pull_request, workflow_dispatch]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ${{matrix.os}}
|
||||
runs-on: ${{ matrix.os }}
|
||||
name: ${{ matrix.os }} ${{ matrix.type }}
|
||||
timeout-minutes: 30
|
||||
|
||||
|
|
@ -16,7 +16,7 @@ jobs:
|
|||
os: ['ubuntu-latest', 'macos-latest']
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.os }}-${{ matrix.type }}
|
||||
cancel-in-progress: true
|
||||
|
||||
steps:
|
||||
|
|
|
|||
Loading…
Reference in New Issue