mirror of
https://github.com/idanoo/autobrr
synced 2025-07-22 16:29:12 +00:00
build(ci): setup goreleaser-pro (#2020)
* build: setup goreleaser-pro * fix: set env key from secrets
This commit is contained in:
parent
f1fd08a2eb
commit
e137ac4070
1 changed files with 5 additions and 3 deletions
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
|
@ -279,21 +279,23 @@ jobs:
|
|||
if: github.event_name == 'pull_request'
|
||||
uses: goreleaser/goreleaser-action@v6
|
||||
with:
|
||||
distribution: goreleaser
|
||||
distribution: goreleaser-pro
|
||||
version: "~> v2"
|
||||
args: release --clean --skip=validate,publish --parallelism 5
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}
|
||||
|
||||
- name: Run GoReleaser build and publish tags
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
uses: goreleaser/goreleaser-action@v6
|
||||
with:
|
||||
distribution: goreleaser
|
||||
distribution: goreleaser-pro
|
||||
version: "~> v2"
|
||||
args: release --clean
|
||||
args: release --clean --parallelism 5
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}
|
||||
|
||||
- name: Create web-dist artifact
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue