diff --git a/.github/workflows/pkg-platform.yml b/.github/workflows/pkg-platform.yml index 71ec0d2251..428571cb18 100644 --- a/.github/workflows/pkg-platform.yml +++ b/.github/workflows/pkg-platform.yml @@ -10,6 +10,10 @@ on: more legible required: false type: string + tinyname: + description: > + GitHub Actions has a non resizable sidebar so we need a shorter name + or it’s much harder to differentiate the different jobs. os: required: true type: string @@ -48,7 +52,7 @@ on: jobs: build: - name: build (${{inputs.name}}) + name: build ${{inputs.tinyname}} runs-on: ${{ fromJSON(inputs.os) }} container: ${{ inputs.container }} outputs: @@ -85,7 +89,7 @@ jobs: - uses: pkgxdev/brewkit/upload-build-artifact@v1 test: - name: test (${{inputs.name}}) ${{ matrix.container || ''}} ${{ join(matrix.os) }} + name: test ${{inputs.tinyname}} ${{ matrix.container || ''}} ${{ join(matrix.os, '+') }} needs: build strategy: matrix: @@ -104,7 +108,7 @@ jobs: pkg: ${{ needs.build.outputs.pkg }} bottle: - name: bottle (${{inputs.name}}+${{matrix.compression}}) + name: bottle (${{inputs.tinyname}}, ${{matrix.compression}}) needs: [build, test] strategy: matrix: @@ -168,7 +172,8 @@ jobs: id: put if: ${{ ! inputs.dry-run }} - versions: + publish: + name: publish ${{inputs.tinyname}} ${{ inputs.dry-run && 'dry-run' }} runs-on: ubuntu-latest needs: [bottle, build] env: diff --git a/.github/workflows/pkg.yml b/.github/workflows/pkg.yml index b3bb4e6b45..561245f498 100644 --- a/.github/workflows/pkg.yml +++ b/.github/workflows/pkg.yml @@ -12,7 +12,7 @@ on: default: false jobs: - get-matrix: + compute-matrix: runs-on: ubuntu-latest outputs: matrix: ${{ steps.matrix.outputs.matrix }} @@ -22,8 +22,8 @@ jobs: - run: .github/scripts/get-matrix.ts ${{ inputs.pkg }} id: matrix - pkgit: - needs: get-matrix + pkg: + needs: compute-matrix name: ${{matrix.platform.tinyname}} strategy: fail-fast: false @@ -38,4 +38,5 @@ jobs: test-os: ${{ toJSON(matrix.platform.test-os) }} test-container: ${{ toJSON(matrix.platform.test-container) }} dry-run: ${{ inputs.dry-run }} + tinyname: matrix.platform.tinyname secrets: inherit