From 60a6ae2caa9a298ff3989f38c50cbd09a4485544 Mon Sep 17 00:00:00 2001 From: henrygd Date: Fri, 25 Jul 2025 20:13:31 -0400 Subject: [PATCH] add winget token for goreleaser action --- .github/workflows/release.yml | 5 +++-- beszel/.goreleaser.yml | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 036d2e7..e3c3f5e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,7 +3,7 @@ name: Make release and binaries on: push: tags: - - 'v*' + - "v*" permissions: contents: write @@ -29,7 +29,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: '^1.22.1' + go-version: "^1.22.1" - name: GoReleaser beszel uses: goreleaser/goreleaser-action@v6 @@ -40,3 +40,4 @@ jobs: args: release --clean env: GITHUB_TOKEN: ${{ secrets.TOKEN || secrets.GITHUB_TOKEN }} + WINGET_TOKEN: ${{ secrets.WINGET_TOKEN }} diff --git a/beszel/.goreleaser.yml b/beszel/.goreleaser.yml index 4ce68fb..1fb9d21 100644 --- a/beszel/.goreleaser.yml +++ b/beszel/.goreleaser.yml @@ -188,6 +188,7 @@ winget: publisher_support_url: "https://github.com/henrygd/beszel/issues" short_description: "Agent for Beszel, a lightweight server monitoring platform." skip_upload: auto + token: "{{ .Env.WINGET_TOKEN }}" description: | Beszel is a lightweight server monitoring platform that includes Docker statistics, historical data, and alert functions. It has a friendly web