mirror of
https://github.com/lukaszraczylo/lolcathost.git
synced 2026-07-13 12:30:11 +00:00
Fix the github actions.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user