Raised the release CI job's Java version to 17 as this is the min req… #14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish Snapshots | |
on: | |
push: | |
branches: [ main ] | |
workflow_dispatch: | |
jobs: | |
publish-core-snapshot: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: write | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
java-version: '11' | |
distribution: 'temurin' | |
- uses: gradle/actions/setup-gradle@v3 | |
with: | |
validate-wrappers: true | |
- name: Set snapshot version | |
run: ./gradlew set-snapshot-version --stacktrace | |
- name: Publish core package | |
id: publish_package | |
run: ./gradlew publishAllPublicationsToGitHubPackagesRepository --stacktrace | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |