Skip to content

Merge pull request #12 from BagelLab/release-please--branches--main #71

Merge pull request #12 from BagelLab/release-please--branches--main

Merge pull request #12 from BagelLab/release-please--branches--main #71

name: Release UDS Core
on:
push:
branches:
- main
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: googleapis/release-please-action@7987652d64b4581673a76e33ad5e98e3dd56832f # v4.1.3
- id: release-flag
run: echo "release_created=${{ steps.tag.outputs.release_created || false }}" >> $GITHUB_OUTPUT
publish-uds-core-release:
needs: tag-new-version
if: ${{ needs.tag-new-version.outputs.release_created == 'true'}}
permissions:
contents: write
packages: write
id-token: write
uses: ./.github/workflows/publish.yaml
with:
snapshot: false
secrets: inherit