Rename check workflow to build
This commit is contained in:
parent
a511d6ae8e
commit
e5c47a46b5
|
@ -3,7 +3,7 @@ name: ci
|
||||||
on: [ push, pull_request ]
|
on: [ push, pull_request ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
check:
|
build:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
|
@ -41,8 +41,8 @@ jobs:
|
||||||
if: matrix.os == 'macos-latest'
|
if: matrix.os == 'macos-latest'
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
needs: check
|
needs: build
|
||||||
if: github.ref == 'refs/heads/master' && github.event_name == 'push' && needs.check.result == 'success'
|
if: github.ref == 'refs/heads/master' && github.event_name == 'push' && needs.build.result == 'success'
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
|
|
Loading…
Reference in New Issue