Do not run workflows on every commit
This commit is contained in:
parent
0b58853999
commit
e3918e6abb
|
@ -2,8 +2,6 @@ name: Run benchmark and upload results
|
|||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
tags:
|
||||
- 'v*'
|
||||
workflow_dispatch:
|
||||
|
@ -11,6 +9,7 @@ on:
|
|||
jobs:
|
||||
bench:
|
||||
runs-on: ubuntu-18.04
|
||||
if: github.ref == 'refs/heads/master'
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
|
||||
|
|
|
@ -2,8 +2,6 @@ name: Build and upload CLI
|
|||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
tags:
|
||||
- 'v*'
|
||||
workflow_dispatch:
|
||||
|
@ -11,6 +9,7 @@ on:
|
|||
jobs:
|
||||
cli:
|
||||
runs-on: ${{ matrix.os }}
|
||||
if: github.ref == 'refs/heads/master'
|
||||
strategy:
|
||||
matrix:
|
||||
os: [macos-11.0, ubuntu-18.04, windows-2019]
|
||||
|
|
|
@ -2,8 +2,6 @@ name: Build and publish Java artifact
|
|||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
tags:
|
||||
- 'v*'
|
||||
workflow_dispatch:
|
||||
|
@ -11,6 +9,7 @@ on:
|
|||
jobs:
|
||||
build:
|
||||
runs-on: ${{ matrix.os }}
|
||||
if: github.ref == 'refs/heads/master'
|
||||
strategy:
|
||||
matrix:
|
||||
os: [macos-11.0, ubuntu-18.04, windows-2019]
|
||||
|
|
|
@ -2,19 +2,18 @@ name: Build and publish Node.js package
|
|||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
tags:
|
||||
- 'v*'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ${{ matrix.os }}
|
||||
if: github.ref == 'refs/heads/master'
|
||||
strategy:
|
||||
matrix:
|
||||
feature: [core, js]
|
||||
os: [macos-11.0, ubuntu-18.04, windows-2019, self-hosted]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
|
||||
|
|
|
@ -2,20 +2,19 @@ name: Build and publish Python package
|
|||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
tags:
|
||||
- 'v*'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ${{ matrix.os }}
|
||||
if: github.ref == 'refs/heads/master'
|
||||
strategy:
|
||||
matrix:
|
||||
feature: [core, js]
|
||||
os: [macos-11.0, ubuntu-18.04, windows-2019]
|
||||
python: [3.7, 3.8, 3.9]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Set up Python
|
||||
|
|
|
@ -2,8 +2,6 @@ name: Build and publish Ruby gem
|
|||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
tags:
|
||||
- 'v*'
|
||||
workflow_dispatch:
|
||||
|
@ -11,6 +9,7 @@ on:
|
|||
jobs:
|
||||
build:
|
||||
runs-on: ${{ matrix.os }}
|
||||
if: github.ref == 'refs/heads/master'
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-18.04, macos-11.0]
|
||||
|
|
Loading…
Reference in New Issue