From 616337a39fe968a8d3213fa9e3f1ca954585d234 Mon Sep 17 00:00:00 2001 From: Denis Smetannikov Date: Sat, 30 Mar 2024 00:09:04 +0400 Subject: [PATCH] Refactor Github Actions workflow for clarity and flexibility (#111) Changes have been made in the publish.yml of the Github Actions workflow for better readability and flexibility. Specifically, Docker's build matrix has been expanded and it now includes three platforms: linux/amd64, linux/arm64/v8, and linux/386. Moreover, the job names have been updated to more clearly reflect their operations. --- .github/workflows/publish.yml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 41c57d5b..b8f29bba 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -18,7 +18,7 @@ on: jobs: phar: - name: PHAR + name: Publish PHAR runs-on: ubuntu-latest steps: - name: Checkout code @@ -47,14 +47,8 @@ jobs: ./build/csv-blueprint.phar docker: - name: Docker + name: Publish Docker runs-on: ubuntu-latest - strategy: - matrix: - platform: - - linux/amd64 - - linux/arm64/v8 - - linux/386 steps: - name: Checkout code uses: actions/checkout@v4 @@ -82,7 +76,7 @@ jobs: tags: | jbzoo/csv-blueprint:latest jbzoo/csv-blueprint:${{ github.event.release.tag_name }} - platforms: ${{ matrix.platform }} + platforms: linux/amd64,linux/arm64/v8,linux/386 build-args: | VERSION=${{ github.event.release.tag_name }}