From b5982d348df534727342000c99763a1dad13a61a Mon Sep 17 00:00:00 2001 From: DariusKlein <54933874+DariusKlein@users.noreply.github.com> Date: Mon, 10 Jun 2024 15:43:41 +0200 Subject: [PATCH] Update golang.yml --- .github/workflows/golang.yml | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/.github/workflows/golang.yml b/.github/workflows/golang.yml index 98ff937..e8ba9e0 100644 --- a/.github/workflows/golang.yml +++ b/.github/workflows/golang.yml @@ -10,24 +10,6 @@ on: branches: [ "master" ] jobs: - generate: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - with: - fetch-depth: 0 # Required due to the way Git works, without it this action won't be able to find any or the correct tags - - name: 'Get Previous tag' - id: previoustag - uses: "WyriHaximus/github-action-get-previous-tag@v1" - with: - prefix: v - fallback: v1.0.0 # Optional fallback tag to use when no tag can be found - - name: 'Get next minor version' - id: semvers - uses: "WyriHaximus/github-action-next-semvers@v1" - with: - version: ${{ steps.previoustag.outputs.tag }} - build: runs-on: ubuntu-latest steps: @@ -47,6 +29,6 @@ jobs: uses: softprops/action-gh-release@v2 with: token: ${{ secrets.RELEASE_TOKEN }} - tag_name: ${{ steps.semvers.outputs.patch }} + tag_name: ${{ GITHUB.GITHUB_REF }} files: | wazuh-notify-go/wazuh-notify