Skip to content

Commit

Permalink
ci: update goreleaser configs
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
  • Loading branch information
caarlos0 committed Jun 5, 2024
1 parent 95c31a2 commit bc1e05c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ name: build
on:
push:
branches:
- 'main'
- "main"
tags:
- 'v*'
- "v*"
pull_request:

permissions:
contents: write
id-token: write
packages: write
contents: write
id-token: write
packages: write

jobs:
build:
Expand All @@ -37,7 +37,6 @@ jobs:
with:
distribution: goreleaser-pro
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
FURY_TOKEN: ${{ secrets.FURY_TOKEN }}
Expand Down
4 changes: 3 additions & 1 deletion goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# yaml-language-server: $schema=https://goreleaser.com/static/schema-pro.json
version: 2
variables:
homepage: https://github.com/caarlos0/timer
repository: https://github.com/caarlos0/timer
Expand All @@ -13,4 +15,4 @@ includes:
url: https://raw.githubusercontent.com/caarlos0/goreleaserfiles/main/cosign_checksum.yml

furies:
- account: caarlos0
- account: caarlos0

0 comments on commit bc1e05c

Please sign in to comment.