We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68a2b0d commit 50db970Copy full SHA for 50db970
.github/workflows/maven.yml
@@ -21,10 +21,10 @@ jobs:
21
git config --global user.email "[email protected]"
22
git config --global user.name "GitHub Action"
23
- name: Build with Maven
24
- if: github.ref != 'refs/heads/master'
+ if: github.ref != 'refs/heads/main'
25
run: mvn -B clean install
26
- name: Deploy with Maven
27
- if: github.ref == 'refs/heads/master'
+ if: github.ref == 'refs/heads/main'
28
run: mvn -B clean deploy
29
env:
30
MAVEN_USERNAME: ${{ secrets.OSSRH_TOKEN_USER }}
0 commit comments