mirror of
https://github.com/idanoo/autobrr
synced 2025-07-22 16:29:12 +00:00
build: goreleaser parallel builds (#956)
* chore(goreleaser): parallel builds * 8 seems like a good number * 99 problems but a goreleaser... is one. * fine? * fine. * Update release.yml * Windows?? * bill * flip to zip on Windows * 4 minutes to zstd on windows... mac should be faster. * long switch for clarity * revert none hack * flip web to mac * bad touch * mac web is a loss * add zip
This commit is contained in:
parent
e63719a57d
commit
b1eae6e980
2 changed files with 11 additions and 4 deletions
12
.github/workflows/release.yml
vendored
12
.github/workflows/release.yml
vendored
|
@ -74,7 +74,7 @@ jobs:
|
|||
goreleaserbuild:
|
||||
name: Build Go binaries
|
||||
if: github.event_name == 'pull_request'
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: macos-latest
|
||||
needs: [web, test]
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
@ -100,7 +100,7 @@ jobs:
|
|||
with:
|
||||
distribution: goreleaser
|
||||
version: latest
|
||||
args: release --clean --skip-validate --skip-publish
|
||||
args: release --clean --skip-validate --skip-publish --parallelism 99
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
|
@ -108,7 +108,9 @@ jobs:
|
|||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: autobrr
|
||||
path: dist/*.tar.gz
|
||||
path: |
|
||||
dist/*.tar.gz
|
||||
dist/*.zip
|
||||
|
||||
goreleaser:
|
||||
name: Build and publish binaries
|
||||
|
@ -147,7 +149,9 @@ jobs:
|
|||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: autobrr
|
||||
path: dist/*.tar.gz
|
||||
path: |
|
||||
dist/*.tar.gz
|
||||
dist/*.zip
|
||||
|
||||
docker:
|
||||
name: Build and publish Docker images
|
||||
|
|
|
@ -67,6 +67,9 @@ archives:
|
|||
- none*
|
||||
replacements:
|
||||
amd64: x86_64
|
||||
format_overrides:
|
||||
- goos: windows
|
||||
format: zip
|
||||
|
||||
release:
|
||||
prerelease: auto
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue