From ea252455fd1af84f1a97180a20bba86109a3a4d3 Mon Sep 17 00:00:00 2001 From: j178 <10510431+j178@users.noreply.github.com> Date: Mon, 30 Jan 2023 15:26:03 +0800 Subject: [PATCH] Fix environment --- .github/workflows/release.yaml | 2 ++ .goreleaser.yaml | 1 + 2 files changed, 3 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index b88ac62a..9489e2af 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -29,3 +29,5 @@ jobs: env: # Custom secret here since we need to access to j178/homebrew-tap repo. GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} + DISCORD_WEBHOOK_ID: ${{ secrets.DISCORD_WEBHOOK_ID }} + DISCORD_WEBHOOK_TOKEN: ${{ secrets.DISCORD_WEBHOOK_TOKEN }} diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 08e493f2..ad5543f7 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -24,6 +24,7 @@ builds: archives: - format: tar.gz + rlcp: true # this name template makes the OS and Arch compatible with the results of uname. name_template: >- {{ .ProjectName }}_