mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 00:39:13 +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:
|
goreleaserbuild:
|
||||||
name: Build Go binaries
|
name: Build Go binaries
|
||||||
if: github.event_name == 'pull_request'
|
if: github.event_name == 'pull_request'
|
||||||
runs-on: ubuntu-latest
|
runs-on: macos-latest
|
||||||
needs: [web, test]
|
needs: [web, test]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
@ -100,7 +100,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
distribution: goreleaser
|
distribution: goreleaser
|
||||||
version: latest
|
version: latest
|
||||||
args: release --clean --skip-validate --skip-publish
|
args: release --clean --skip-validate --skip-publish --parallelism 99
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
@ -108,7 +108,9 @@ jobs:
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: autobrr
|
name: autobrr
|
||||||
path: dist/*.tar.gz
|
path: |
|
||||||
|
dist/*.tar.gz
|
||||||
|
dist/*.zip
|
||||||
|
|
||||||
goreleaser:
|
goreleaser:
|
||||||
name: Build and publish binaries
|
name: Build and publish binaries
|
||||||
|
@ -147,7 +149,9 @@ jobs:
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: autobrr
|
name: autobrr
|
||||||
path: dist/*.tar.gz
|
path: |
|
||||||
|
dist/*.tar.gz
|
||||||
|
dist/*.zip
|
||||||
|
|
||||||
docker:
|
docker:
|
||||||
name: Build and publish Docker images
|
name: Build and publish Docker images
|
||||||
|
|
|
@ -67,6 +67,9 @@ archives:
|
||||||
- none*
|
- none*
|
||||||
replacements:
|
replacements:
|
||||||
amd64: x86_64
|
amd64: x86_64
|
||||||
|
format_overrides:
|
||||||
|
- goos: windows
|
||||||
|
format: zip
|
||||||
|
|
||||||
release:
|
release:
|
||||||
prerelease: auto
|
prerelease: auto
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue