Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

G2-1562 Update gh actions workflow #2

Merged
merged 1 commit into from
Apr 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ jobs:
concurrency: "${{ github.workflow }}-${{ github.ref }}"
steps:
- name: Checkout
uses: actions/checkout@v2
- uses: actions/setup-java@v2
uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
distribution: adopt
java-version: 11
java-version: 17
cache: maven
- name: Build
run: "mvn -s \"${GITHUB_WORKSPACE}/.github/workflows/maven-settings.xml\" -B ${{ (((github.event_name == 'push') || (github.event_name == 'workflow_dispatch')) && (github.ref == 'refs/heads/master')) && 'deploy' || 'package' }} --file pom.xml -Prelease,release-snapshot"
run: "mvn -s \"${GITHUB_WORKSPACE}/.github/workflows/maven-settings.xml\" -B ${{ (((github.event_name == 'push') || (github.event_name == 'workflow_dispatch')) && (github.ref == 'refs/heads/main')) && 'deploy' || 'package' }} --file pom.xml -Prelease,release-snapshot"
env:
GITHUB_TOKEN: "${{ github.token }}"
Loading