Skip to content

Commit 7d39717

Browse files
author
TheSnoozer
committed
github actions: treat the numbers as strings
1 parent dcbb87b commit 7d39717

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/default-tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ jobs:
2727
needs: checkstyle
2828
strategy:
2929
matrix:
30-
java_allow_illegal_access: 0
30+
java_allow_illegal_access: '0'
3131
java_version: ['8', '9', '10', '11', '12', '13', '14', '15']
3232
include:
3333
- java_version: ['16']
34-
java_allow_illegal_access: 1
34+
java_allow_illegal_access: '1'
3535

3636
steps:
3737
- uses: actions/checkout@v1
@@ -46,10 +46,10 @@ jobs:
4646
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
4747
restore-keys: ${{ runner.os }}-m2
4848
- name: Build with Maven
49-
if: ${{ matrix.java_allow_illegal_access == 0 }}
49+
if: ${{ matrix.java_allow_illegal_access == '0' }}
5050
run: mvn clean verify javadoc:javadoc -B
5151
- name: Build with Maven
52-
if: ${{ matrix.java_allow_illegal_access == 1 }}
52+
if: ${{ matrix.java_allow_illegal_access == '1' }}
5353
run: mvn clean verify javadoc:javadoc -Pjava-allow-illegal-access -B
5454

5555
integration-test:

0 commit comments

Comments
 (0)