Skip to content

[maven-release-plugin] prepare release v1.1.0 #3

[maven-release-plugin] prepare release v1.1.0

[maven-release-plugin] prepare release v1.1.0 #3

Workflow file for this run

name: Build and test
on:
push:
tags:
- 'v*'
jobs:
build:
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags') && !contains(github.event.head_commit.message, '[ci skip]')"

Check failure on line 10 in .github/workflows/deploy-release.yml

View workflow run for this annotation

GitHub Actions / Build and test

Invalid workflow file

The workflow is not valid. .github/workflows/deploy-release.yml (Line: 10, Col: 9): Unexpected symbol: '"'. Located at position 96 within expression: startsWith(github.ref, 'refs/tags') && !contains(github.event.head_commit.message, '[ci skip]')"
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup java
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 17
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
gpg-passphrase: MAVEN_GPG_PASSPHRASE
cache: 'maven'
server-id: 'osrrh'
server-username: MAVEN_USERNAME
server-password: MAVEN_CENTRAL_TOKEN
- name: Release to maven central
run: |
mvn deploy
env:
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_CENTRAL_TOKEN: ${{ secrets.MAVEN_CENTRAL_TOKEN }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}