Skip to content

Commit

Permalink
Separate platform to two variables to simplify escaping
Browse files Browse the repository at this point in the history
  • Loading branch information
danschmidt5189 committed Dec 5, 2024
1 parent ac3cd4f commit df79a6b
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,13 @@ jobs:
runs-on: ubuntu-latest

strategy:
fail-fast: false
fail-fast: true
matrix:
platform:
- linux/amd64
- linux/arm64
base:
- osfamily
architecture:
- amd64
- arm64

steps:
- name: Checkout repository
Expand Down Expand Up @@ -80,7 +82,7 @@ jobs:
GIT_REF_NAME=${{ github.ref_name }}
GIT_REPOSITORY_URL=${{ github.repositoryUrl }}
GIT_SHA=${{ github.sha }}
platforms: ${{ matrix.platform }}
platforms: ${{ matrix.osfamily }}/${{ matrix.architecture }}
push: false
labels: ${{ steps.meta.outputs.labels }}
tags: ${{ steps.meta.outputs.tags }}
Expand Down Expand Up @@ -109,5 +111,5 @@ jobs:
if: ${{ always() }}
uses: actions/upload-artifact@v4
with:
name: test-results-${{ matrix.platform }}
name: test-results-${{ matrix.osfamily }}-${{ matrix.architecture }}
path: tmp/artifacts

0 comments on commit df79a6b

Please sign in to comment.