Skip to content

v0.5.2

v0.5.2 #15

Workflow file for this run

name: 🎯 Release
on:
release:
types: [ "released" ]
jobs:
version:
name: Get Release Version
runs-on: ubuntu-latest
outputs:
version: ${{ steps.get_version.outputs.version }}
steps:
- name: Determine version from release tag
id: get_version
run: |
release_tag=${{github.ref}}
version="${release_tag#refs/tags/v}"
echo "version=$version" >> "$GITHUB_OUTPUT"
build:
name: Build
needs: version
uses: ./.github/workflows/Build.yml
with:
version: ${{needs.version.outputs.version}}
test:
name: Test
needs: build
uses: ./.github/workflows/Test.yml
secrets: inherit
publish:
name: Publish
needs: [ version, test ]
uses: ./.github/workflows/Publish.yml
secrets: inherit
permissions:
id-token: write
with:
version: ${{needs.version.outputs.version}}