Skip to content

Publish Release

Publish Release #39

Workflow file for this run

name: Publish Release
on:
push:
tags:
- '*.*.*'
jobs:
# Use macOS so iOS artifacts are published
publish-release:
name: Publish Release
runs-on: macos-latest
if: github.repository == 'kizitonwose/Calendar'
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 17
- uses: gradle/actions/setup-gradle@v3
with:
gradle-home-cache-cleanup: true
- name: Deploy to Maven
run: ./gradlew publish
with:

Check failure on line 26 in .github/workflows/publish-release.yml

View workflow run for this annotation

GitHub Actions / Publish Release

Invalid workflow file

The workflow is not valid. .github/workflows/publish-release.yml (Line: 26, Col: 9): Unexpected value 'with'
mavenCentralUsername: ${{ secrets.SONATYPE_NEXUS_USERNAME }}
mavenCentralPassword: ${{ secrets.SONATYPE_NEXUS_PASSWORD }}
signingInMemoryKey: ${{ secrets.SONATYPE_NEXUS_SIGNING_KEY }}
signingInMemoryKeyId: ${{ secrets.SONATYPE_NEXUS_SIGNING_KEY_ID }}
signingInMemoryKeyPassword: ${{ secrets.SONATYPE_NEXUS_SIGNING_KEY_PASSWORD }}