Skip to content

Commit 498b6a1

Browse files
committed
Minor fix to CI
1 parent 7d8dc09 commit 498b6a1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/main.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -52,17 +52,17 @@ jobs:
5252
if: matrix.java_version == '8'
5353
run: ./mvnw -B -q -ff -ntp -DskipTests animal-sniffer:check
5454
- name: Deploy snapshot
55-
if: github.event_name != 'pull_request' && matrix.java_version == '8' && endsWith(steps.projectVersion.outputs.version, '-SNAPSHOT')
55+
if: ${{ github.event_name != 'pull_request' && matrix.java_version == '8' && endsWith(steps.projectVersion.outputs.version, '-SNAPSHOT') }}
5656
env:
5757
CI_DEPLOY_USERNAME: ${{ secrets.CI_DEPLOY_USERNAME }}
5858
CI_DEPLOY_PASSWORD: ${{ secrets.CI_DEPLOY_PASSWORD }}
5959
# MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
6060
run: ./mvnw -B -q -ff -DskipTests -ntp source:jar deploy
6161
- name: Generate code coverage
62-
if: github.event_name != 'pull_request' && matrix.java_version == '8'
62+
if: ${{ github.event_name != 'pull_request' && matrix.java_version == '8' }}
6363
run: ./mvnw -B -q -ff -ntp test
6464
- name: Publish code coverage
65-
if: github.event_name != 'pull_request' && matrix.java_version == '8'
65+
if: ${{ github.event_name != 'pull_request' && matrix.java_version == '8' }}
6666
uses: codecov/codecov-action@84508663e988701840491b86de86b666e8a86bed # v4.3.0
6767
with:
6868
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)