Skip to content

chore: remove old namespace pattern (#149) #96

chore: remove old namespace pattern (#149)

chore: remove old namespace pattern (#149) #96

name: Tag, Release and Publish UDS Bundle
on:
push:
branches:
- main
permissions:
contents: read
packages: write
id-token: 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@a37ac6e4f6449ce8b3f7607e4d97d0146028dc0b # 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 the uds bundle
publish-uds-bundle:
needs: tag-new-version
if: ${{ needs.tag-new-version.outputs.release_created == 'true'}}
uses: ./.github/workflows/publish-bundle.yaml
secrets: inherit