Skip to content

Commit

Permalink
Silence VSCode warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
ivoronin committed Jan 7, 2024
1 parent 049f15e commit 4eda3c0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@ permissions:

jobs:
goreleaser:
env:
GORELEASER_FLAGS:
runs-on: ubuntu-latest
steps:
-
if: ${{ !startsWith(github.ref, 'refs/tags/20') }}
run: echo "flags=--snapshot" >> $GITHUB_ENV
run: echo "GORELEASER_FLAGS=--snapshot" >> $GITHUB_ENV
-
name: Checkout
uses: actions/checkout@v3
Expand All @@ -30,6 +32,6 @@ jobs:
with:
distribution: goreleaser
version: latest
args: release --clean ${{ env.flags }}
args: release --clean ${{ env.GORELEASER_FLAGS }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 4eda3c0

Please sign in to comment.