Skip to content

adjust package-publishing to migrated release-pipeline #1

adjust package-publishing to migrated release-pipeline

adjust package-publishing to migrated release-pipeline #1

Workflow file for this run

name: Release

Check failure on line 1 in .github/workflows/release.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yaml

Invalid workflow file

(Line: 42, Col: 29): Unrecognized named-value: 'jobs'. Located at position 1 within expression: jobs.release-to-github-and-bump.outputs.component-descriptor
on:
workflow_dispatch:
inputs:
next-version:
type: choice
options:
- bump-minor
- bump-patch
jobs:
build:
uses: ./.github/workflows/build.yaml
permissions:
contents: write
id-token: write
packages: write
with:
mode: release
release-to-github-and-bump:
uses: gardener/cc-utils/.github/workflows/release.yaml@master
needs:
- build
secrets: inherit
permissions:
contents: write
id-token: write
packages: write
with:
release-commit-target: branch
next-version: ${{ inputs.next-version }}
next-version-callback-action-path: ./.github/actions/prepare-release
slack-channel-id: C01BKP30K1U # #sap-tech-gardenctl
publish-to-package-repositories:
needs:
- release-to-github-and-bump
secrets: inherit
uses: ./.github/workflows/publish-to-package-repositories.yaml
with:
component-descriptor: ${{ jobs.release-to-github-and-bump.outputs.component-descriptor }}