Skip to content

Commit 89a051a

Browse files
authored
chore: Build and publish artifacts with Java 8 (#12)
1 parent b97a018 commit 89a051a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/lint-test-sdk.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on:
44
pull_request:
55
paths:
66
- '**/*'
7+
push:
8+
branches: [main]
79

810
env:
911
ORG_GRADLE_PROJECT_ossrhUsername: ${{ secrets.OSSRH_USERNAME }}

.github/workflows/publish-snapshot.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717
with:
1818
fetch-depth: 0
1919

20-
- name: Set up JDK 17
20+
- name: Set up JDK 8
2121
uses: actions/setup-java@v4
2222
with:
23-
java-version: 17
23+
java-version: '8'
2424
distribution: 'adopt'
2525
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
2626
gpg-passphrase: ${{ secrets.GPG_PASSPHRASE }}

0 commit comments

Comments
 (0)