Fix the github actions.

This commit is contained in:
2025-11-28 14:28:54 +00:00
parent 11ae97c97c
commit 8272bf1ebd
+11 -4
View File
@@ -29,8 +29,8 @@ jobs:
needs: test needs: test
runs-on: ubuntu-latest runs-on: ubuntu-latest
outputs: outputs:
version: ${{ steps.semver.outputs.version }} version: ${{ steps.version_formatted.outputs.version }}
version_tag: ${{ steps.semver.outputs.version_tag }} version_tag: ${{ steps.version_formatted.outputs.version_tag }}
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
@@ -44,10 +44,17 @@ jobs:
config_file: semver.yaml config_file: semver.yaml
repository_local: true repository_local: true
- name: Format version
id: version_formatted
run: |
VERSION="${{ steps.semver.outputs.semantic_version }}"
echo "version=${VERSION}" >> $GITHUB_OUTPUT
echo "version_tag=v${VERSION}" >> $GITHUB_OUTPUT
- name: Print version - name: Print version
run: | run: |
echo "Version: ${{ steps.semver.outputs.version }}" echo "Version: ${{ steps.version_formatted.outputs.version }}"
echo "Version tag: ${{ steps.semver.outputs.version_tag }}" echo "Version tag: ${{ steps.version_formatted.outputs.version_tag }}"
release: release:
needs: version needs: version