Skip to content

Update java to 17 in workflow #111

Update java to 17 in workflow

Update java to 17 in workflow #111

name: Publish SNAPSHOT to Maven Central
on:
push:
branches: [ master ]
jobs:
publish-snapshot:
runs-on: ubuntu-latest
steps:
- name: Clone Repository
uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v1
with:
java-version: '17

Check failure on line 17 in .github/workflows/release-snapshot.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release-snapshot.yml

Invalid workflow file

You have an error in your yaml syntax on line 17
- name: Build and upload archives to the Maven Central Repository
run: ./gradlew guia:publishAllPublicationsToMavenCentralRepository
env:
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_NEXUS_USERNAME }}
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_NEXUS_PASSWORD }}
ORG_GRADLE_PROJECT_signingInMemoryKeyId: ${{ secrets.PGP_SIGNING_KEY_ID }}
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.PGP_SIGNING_KEY }}
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.PGP_SIGNING_PASSWORD }}