We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f303a80 commit 6de4605Copy full SHA for 6de4605
.github/workflows/pr.yml
@@ -3,6 +3,7 @@ on:
3
pull_request:
4
branches:
5
- master
6
+ - 4.x
7
jobs:
8
maven-package:
9
if: "!contains(github.event.head_commit.message, 'ci skip')"
.github/workflows/push.yml
push:
env:
JFROG_USER: ${{ secrets.ARTIFACTORY_AUTH_USER }}
JFROG_PASS: ${{ secrets.ARTIFACTORY_AUTH_TOKEN }}
@@ -64,5 +65,5 @@ jobs:
64
65
uses: entur/gha-maven-central/.github/workflows/maven-publish.yml@v1
66
secrets: inherit
67
with:
- push_to_repo: true
68
- snapshot: false
+ push_to_repo: ${{ github.ref != 'refs/heads/4.x' }}
69
+ snapshot: ${{ github.ref == 'refs/heads/4.x' }}
0 commit comments