mirror of
https://github.com/goreleaser/nfpm
synced 2024-06-02 06:36:19 +02:00
fix: split the workflows by platform as well (#321)
This commit is contained in:
parent
1fb26910a0
commit
fb9b6f4846
|
@ -1,11 +1,6 @@
|
|||
name: build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- 'master'
|
||||
tags:
|
||||
- 'v*'
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
|
@ -54,7 +49,8 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
go-version: [ 1.16 ]
|
||||
pkgFormats: [ deb, rpm, apk ]
|
||||
pkgFormat: [ deb, rpm, apk ]
|
||||
pkgPlatform: [ amd64, arm64, 386, ppc64le ]
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
DOCKER_CLI_EXPERIMENTAL: "enabled"
|
||||
|
@ -91,7 +87,7 @@ jobs:
|
|||
-
|
||||
name: Make Acceptance
|
||||
run: |
|
||||
TEST_PATTERN=/${{ matrix.pkgFormats }}/ make acceptance
|
||||
TEST_PATTERN=/${{ matrix.pkgFormat }}/${{ matrix.pkgPlatform }}/ make acceptance
|
||||
goreleaser:
|
||||
strategy:
|
||||
matrix:
|
||||
|
|
Loading…
Reference in New Issue