1
1
Fork 0
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:
Dj Gilcrease 2021-04-15 18:35:42 -07:00 committed by GitHub
parent 1fb26910a0
commit fb9b6f4846
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: