Skip to content

Commit

Permalink
switch to dependent job
Browse files Browse the repository at this point in the history
  • Loading branch information
Björn Wenzel committed Oct 20, 2021
1 parent 2bb7ef2 commit f6b41d8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/maven.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: Java CI
on: [push]

jobs:
kubernetes:
name: "Kubernetes"
test:
name: "Test"

runs-on: ubuntu-latest

Expand Down Expand Up @@ -42,6 +42,7 @@ jobs:
runs-on: ubuntu-latest

if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')
needs: test

steps:
- uses: actions/checkout@v1
Expand Down

0 comments on commit f6b41d8

Please sign in to comment.