From efb9ac31bc549b105f24e4264f91a8300b879fda Mon Sep 17 00:00:00 2001 From: mehdi-ra Date: Fri, 21 Jul 2023 08:48:39 +0330 Subject: [PATCH] refactor(release.yaml): updated action to use semver-release-action instead --- .github/workflows/release.yaml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 3338d31..ffb0abc 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -7,16 +7,14 @@ on: jobs: build: runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v3 + - uses: actions/checkout@v3 with: fetch-depth: 0 - - name: Database Version - id: db-version - uses: paulhatch/semantic-version@v5.0.2 + - name: Tag + uses: K-Phoen/semver-release-action@master with: - change_path: "." - namespace: "" + release_branch: main + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}