Tag #1037
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tag | |
on: | |
workflow_dispatch: | |
workflow_call: | |
outputs: | |
tag: | |
description: "Generated tag" | |
value: ${{ jobs.tag-job.outputs.tag }} | |
jobs: | |
tag-job: | |
runs-on: ubuntu-latest | |
outputs: | |
tag: ${{ steps.tag.outputs.tag }} | |
steps: | |
- name: Checkout current code | |
uses: actions/checkout@v3 | |
with: | |
token: ${{ secrets.BROADBOT_TOKEN }} # this allows the push to succeed later | |
- name: Bump the tag to a new version | |
# https://github.com/DataBiosphere/github-actions/tree/master/actions/bumper | |
uses: databiosphere/github-actions/actions/[email protected] | |
id: tag | |
env: | |
GITHUB_TOKEN: ${{ secrets.BROADBOT_TOKEN }} | |
HOTFIX_BRANCHES: hotfix.* | |
DEFAULT_BUMP: patch | |
RELEASE_BRANCHES: development | |
VERSION_FILE_PATH: settings.gradle | |
VERSION_LINE_MATCH: "^\\s*gradle.ext.releaseVersion\\s*=\\s*'.*'" |