Skip to content

Commit

Permalink
ci: Test Maven command
Browse files Browse the repository at this point in the history
  • Loading branch information
nileger committed Jan 4, 2023
1 parent d857248 commit 278d955
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,17 @@ jobs:
name: Create Release
runs-on: ubuntu-latest
steps:
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
settings-path: ${{ github.workspace }}
# - name: Set up JDK 11
# uses: actions/setup-java@v3
# with:
# java-version: '11'
# distribution: 'temurin'
# settings-path: ${{ github.workspace }}
- name: Set Release version env variable
run: echo "RELEASE_VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_ENV

- name: Test Maven Command
run: mvn help:evaluate -Dexpression=project.version -q -DforceStdout

- name: Test RELEASE_VERSION
run: echo {{ env.RELEASE_VERSION }}
Expand Down

0 comments on commit 278d955

Please sign in to comment.