Skip to content

Commit

Permalink
Minor CI improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Jun 20, 2024
1 parent 6080fdf commit 3f1548b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ on:
paths-ignore:
- "README.md"
- "release-notes/*"
permissions:
contents:read

jobs:
build:
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -44,7 +47,7 @@ jobs:
run: ./mvnw -B -q -ff -ntp verify
- name: Extract project Maven version
id: projectVersion
run: echo "version=$(./mvnw org.apache.maven.plugins:maven-help-plugin:3.3.0:evaluate -DforceStdout -Dexpression=project.version -q)" >> $GITHUB_OUTPUT
run: echo "version=$(./mvnw org.apache.maven.plugins:maven-help-plugin:3.4.1:evaluate -DforceStdout -Dexpression=project.version -q)" >> $GITHUB_OUTPUT
- name: Deploy snapshot
if: github.event_name != 'pull_request' && matrix.java_version == '8' && endsWith(steps.projectVersion.outputs.version, '-SNAPSHOT')
env:
Expand Down

0 comments on commit 3f1548b

Please sign in to comment.