Skip to content

Bump ci-templates

Bump ci-templates #11

name: Build and Publish
on:
push:
tags: ["**"]
branches: ["**"]
jobs:
build-and-publish:
name: Java Gradle
uses: bakdata/ci-templates/.github/workflows/[email protected]
with:
java-version: 17
secrets:
sonar-token: ${{ secrets.SONARCLOUD_TOKEN }}
sonar-organization: ${{ secrets.SONARCLOUD_ORGANIZATION }}
signing-secret-key-ring: ${{ secrets.SONATYPE_SIGNING_SECRET_KEY_RING }}
signing-key-id: ${{ secrets.SONATYPE_SIGNING_KEY_ID }}
signing-password: ${{ secrets.SONATYPE_SIGNING_PASSWORD }}
ossrh-username: ${{ secrets.SONATYPE_OSSRH_USERNAME }}
ossrh-password: ${{ secrets.SONATYPE_OSSRH_PASSWORD }}
github-username: ${{ secrets.GH_USERNAME }}

Check failure on line 22 in .github/workflows/build-and-publish.yaml

View workflow run for this annotation

GitHub Actions / Build and Publish

Invalid workflow file

The workflow is not valid. .github/workflows/build-and-publish.yaml (Line: 22, Col: 24): Invalid secret, github-username is not defined in the referenced workflow.
github-token: ${{ secrets.GH_TOKEN }}