Skip to content

Commit

Permalink
use GORELEASER_CURRENT_TAG for goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
s-radyuk committed Dec 28, 2021
1 parent e2acd86 commit 108186a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,17 @@ jobs:
VALIDATE_NATURAL_LANGUAGE: false
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Get tag
id: get_tag
run: echo ::set-output name=TAG::$(echo $GITHUB_REF#refs/*/)

- name: Lint GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
version: v1.2.2
args: --skip-publish --snapshot
env:
GORELEASER_CURRENT_TAG: ${{ steps.get_tag.outputs.TAG }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Set up Helm
Expand Down

0 comments on commit 108186a

Please sign in to comment.