Skip to content

Commit 0230d41

Browse files
Adds CI step to test publishing
1 parent 0daf92d commit 0230d41

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/ci.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,18 @@ jobs:
6565
run: |
6666
unzip -j /home/runner/work/*.zip -d app/libs/
6767
./gradlew test
68+
test_publish_to_maven:
69+
runs-on: ubuntu-latest
70+
# if: ${{ github.ref == 'refs/heads/master' }}
71+
permissions:
72+
contents: read
73+
steps:
74+
- uses: actions/checkout@v4
75+
- name: Set up JDK 8
76+
uses: actions/setup-java@v4
77+
with:
78+
java-version: '8'
79+
distribution: 'zulu'
80+
81+
- name: Test PublishToMaven
82+
run: ./gradlew publishToMavenLocal

0 commit comments

Comments
 (0)