Fix Github workflow [skip ci]
This commit is contained in:
parent
4403a477ab
commit
1011e06bd8
1 changed files with 2 additions and 4 deletions
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
|
|
@ -330,9 +330,8 @@ jobs:
|
||||||
name: babashka-${{ steps.babashka-version.outputs.version }}-macos-amd64.zip
|
name: babashka-${{ steps.babashka-version.outputs.version }}-macos-amd64.zip
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
if: "!contains(github.event.head_commit.message, 'skip ci')"
|
if: "!contains(github.event.head_commit.message, 'skip ci') and github.event_name == 'push' && github.ref == 'refs/heads/master'"
|
||||||
needs: [jvm, linux, linux-static, mac]
|
needs: [jvm, linux, linux-static, mac]
|
||||||
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
|
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-18.04
|
||||||
steps:
|
steps:
|
||||||
- name: Git checkout
|
- name: Git checkout
|
||||||
|
|
@ -358,9 +357,8 @@ jobs:
|
||||||
.github/script/deploy
|
.github/script/deploy
|
||||||
|
|
||||||
docker:
|
docker:
|
||||||
if: "!contains(github.event.head_commit.message, 'skip ci')"
|
if: "!contains(github.event.head_commit.message, 'skip ci') and github.event_name == 'push' && github.ref == 'refs/heads/master'"
|
||||||
needs: [jvm, linux, linux-static, mac]
|
needs: [jvm, linux, linux-static, mac]
|
||||||
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
|
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-18.04
|
||||||
steps:
|
steps:
|
||||||
- name: Git checkout
|
- name: Git checkout
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue