Skip to content

:chore: using the common workflow (#41) #9

:chore: using the common workflow (#41)

:chore: using the common workflow (#41) #9

name: Tag and Publish UDS Capability
on:
push:
branches:
- main
permissions:
contents: read
packages: write
jobs:
tag-new-version:
permissions: write-all
runs-on: ubuntu-latest
outputs:
release_created: ${{ steps.release-flag.outputs.release_created }}
steps:
- name: Create Release Tag
id: tag
uses: google-github-actions/release-please-action@v4
with:
command: manifest # use configs in release-please-config.json
- id: release-flag
run: echo "release_created=${{ steps.tag.outputs.release_created || false }}" >> $GITHUB_OUTPUT
publish-uds-package:
needs: tag-new-version
if: ${{ needs.tag-new-version.outputs.release_created == 'true'}}
uses: ./.github/workflows/publish-uds-package.yaml
secrets: inherit