Skip to content

Commit

Permalink
Update java8-maven.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
charphi authored Feb 6, 2025
1 parent e934ca0 commit cf7efed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/java8-maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,13 @@ jobs:
java_min: ${{ env.JAVA_MIN }}
java_max: ${{ env.JAVA_MAX }}
is_pull_request: ${{ github.event_name == 'pull_request' }}
is_main_branch: startsWith(github.ref, 'refs/heads/develop')
steps:
- run: echo

build-and-test-job:
needs: variables-job
if: github.event_name == 'pull_request' || startsWith(github.ref, 'refs/heads/develop') || startsWith(github.ref, 'refs/tags/v')
if: needs.variables-job.outputs.is_pull_request || needs.variables-job.outputs.is_main_branch || startsWith(github.ref, 'refs/tags/v')
strategy:
fail-fast: false
matrix:
Expand Down

0 comments on commit cf7efed

Please sign in to comment.