From c0d4147fe65eb1818e137c4dde344ea1e158b3fb Mon Sep 17 00:00:00 2001 From: Eric Fennis Date: Fri, 3 Jan 2025 15:33:47 +0100 Subject: [PATCH] fix: Test Version --- .github/workflows/ci.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 04e0e6c33..b2018594b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,6 +26,7 @@ jobs: id: semantic uses: cycjimmy/semantic-release-action@v4 with: + semantic_version: 1 tag_format: ${version} branches: | ['new-release-workflow'] @@ -40,9 +41,13 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Log version + - name: Do something when a new release published if: steps.semantic.outputs.new_release_published == 'true' - run: echo "${{ steps.semantic.outputs.new_release_version }}" + run: | + echo ${{ steps.semantic.outputs.new_release_version }} + echo ${{ steps.semantic.outputs.new_release_major_version }} + echo ${{ steps.semantic.outputs.new_release_minor_version }} + echo ${{ steps.semantic.outputs.new_release_patch_version }} # - name: Create Release # uses: softprops/action-gh-release@v1 # with: