From 287e0fc109f231344df7df931241e44c43fb5d98 Mon Sep 17 00:00:00 2001 From: Emad Mokhtar Date: Fri, 26 Apr 2024 12:02:08 +0200 Subject: [PATCH] Try version bump --- .github/workflows/ci.yml | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 821cafd..136e60d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -75,21 +75,11 @@ jobs: new-version: + name: Bump tag version (semver) runs-on: ubuntu-latest steps: - - name: Checkout Code - uses: actions/checkout@v3 + - uses: 1k-off/action-semver-tag-release@1.0.1 + id: tag with: - ref: ${{ github.head_ref }} # checkout the correct branch name - fetch-depth: 0 # fetch the whole repo history - - - name: Git Version - id: version - uses: codacy/git-version@2.7.1 - - - name: Use the version - run: | - echo ${{ steps.version.outputs.version }} - - name: Use the previous version - run: | - echo ${{ steps.version.outputs.previous-version }} + version: latest + github_token: ${{ secrets.GITHUB_TOKEN }}