Release v1.1.0 (#73) #2
Workflow file for this run
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: Tagged Releases | |
on: | |
push: | |
tags: | |
- "v*" # Only tags starting with "v" for "v1.0.0", etc. | |
jobs: | |
get_tag_version: | |
runs-on: ubuntu-latest | |
outputs: | |
version: ${{ steps.get_version.outputs.version }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Extract tag name | |
id: get_version | |
run: echo "::set-output name=version::$(echo ${GITHUB_REF#refs/tags/v})" | |
call_central_workflow: | |
needs: get_tag_version | |
uses: salt-extensions/central-artifacts/.github/workflows/ci.yml@main | |
with: | |
setup-vault: true | |
release: true | |
version: ${{ needs.get_tag_version.outputs.version }} | |
permissions: | |
contents: write | |
id-token: write | |
pull-requests: read | |
secrets: inherit |