Skip to content

release: version 0.7.0 #2

release: version 0.7.0

release: version 0.7.0 #2

Workflow file for this run

name: Publish package to the Maven Central Repository
on:
push:
tags:
- v*
pull_request:
branches: [ main ]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

Check failure on line 12 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yml

Invalid workflow file

You have an error in your yaml syntax on line 12
- name: Set up Java 11
uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'temurin'
- name: Publish package
env:
CENTRAL_RELEASE_MAVEN_REPOSITORY_URL: ${{ secrets.CENTRAL_RELEASE_MAVEN_REPOSITORY_URL }}
CENTRAL_MAVEN_REPOSITORY_USERNAME: ${{ secrets.CENTRAL_MAVEN_REPOSITORY_USERNAME }}
CENTRAL_MAVEN_REPOSITORY_PASSWORD: ${{ secrets.CENTRAL_MAVEN_REPOSITORY_PASSWORD }}
GPG_SECRET_KEY: ${{ secrets.GPG_SECRET_KEY }}
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
USERNAME: ${{ github.actor }}
TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: ./gradlew raygun-spring-boot-starter:publishMavenPublicationToCentralReleaseRepository