Skip to content

Merge pull request #239 from gerlero/actions #34

Merge pull request #239 from gerlero/actions

Merge pull request #239 from gerlero/actions #34

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*'
jobs:
get-version:
runs-on: ubuntu-latest
outputs:
app-version: ${{ steps.get_version.outputs.VERSION_WITHOUT_V }}
steps:
- name: Extract version from tag
id: get_version
run:
echo "VERSION_WITHOUT_V=${GITHUB_REF#refs/tags/v}" >> "$GITHUB_OUTPUT"
release:
needs: get-version
uses: ./.github/workflows/ci.yml
with:
app-version: ${{ needs.get-version.outputs.app-version }}
release: true