run gh action only if test succ
This commit is contained in:
parent
4a2ac60a07
commit
adaa4b7a7b
4 changed files with 12 additions and 12 deletions
8
.github/workflows/docker-publish.yml
vendored
8
.github/workflows/docker-publish.yml
vendored
|
|
@ -6,10 +6,10 @@ name: Docker
|
|||
# documentation.
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
# Publish semver tags as releases.
|
||||
tags: [ 'v*.*.*' ]
|
||||
workflow_run:
|
||||
workflows: ["E2E"]
|
||||
types: [completed]
|
||||
branches: [master]
|
||||
|
||||
env:
|
||||
# Use docker.io for Docker Hub if empty
|
||||
|
|
|
|||
7
.github/workflows/e2e.yml
vendored
7
.github/workflows/e2e.yml
vendored
|
|
@ -1,10 +1,9 @@
|
|||
name: E2E
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
types: [assigned, opened, synchronize, reopened]
|
||||
workflow_run:
|
||||
workflows: ["Go"]
|
||||
types: [completed]
|
||||
|
||||
jobs:
|
||||
|
||||
|
|
|
|||
3
.github/workflows/go.yml
vendored
3
.github/workflows/go.yml
vendored
|
|
@ -5,6 +5,7 @@ on:
|
|||
branches: [ master ]
|
||||
pull_request:
|
||||
types: [assigned, opened, synchronize, reopened]
|
||||
tags: [ 'v*.*.*' ]
|
||||
|
||||
jobs:
|
||||
|
||||
|
|
@ -15,8 +16,6 @@ jobs:
|
|||
|
||||
- name: Set up Go 1.x
|
||||
uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: ^1.14
|
||||
id: go
|
||||
|
||||
- name: Check out code into the Go module directory
|
||||
|
|
|
|||
6
.github/workflows/snap.yaml
vendored
6
.github/workflows/snap.yaml
vendored
|
|
@ -1,8 +1,10 @@
|
|||
name: Snap package
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
workflow_run:
|
||||
workflows: ["E2E"]
|
||||
types: [completed]
|
||||
branches: [master]
|
||||
|
||||
jobs:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue