Skip to content

Commit

Permalink
chore: update to large for publish step (#35)
Browse files Browse the repository at this point in the history
* ci: update publish step to large runner and an uniqueness to save logs

* ci: update publish step job name updated matrixbundle path pattern to match test workflow

* use less large runner

* remove trailing space
  • Loading branch information
zachariahmiller committed Mar 22, 2024
1 parent 1c54463 commit 255e386
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/tag-and-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ jobs:
publish-package:
needs: tag-new-version
if: ${{ needs.tag-new-version.outputs.release_created == 'true' }}
runs-on: ubuntu-latest
name: Publish ${{ matrix.flavor }}
runs-on: uds-swf-ubuntu-big-boy-4-core
name: Publish ${{ matrix.bundle }} ${{ matrix.flavor }}
strategy:
matrix:
flavor: [upstream, registry1]
bundle_path: ["bundles/k3d-demo", "bundles/dev"]
bundle: ["k3d-demo", "dev"]

permissions:
contents: read
Expand All @@ -53,10 +53,10 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: Publish Package
run: uds run -f tasks/publish.yaml test-bundle --set FLAVOR=${{ matrix.flavor }} --set BUNDLE_PATH=${{ matrix.bundle_path }}
run: uds run -f tasks/publish.yaml test-bundle --set FLAVOR=${{ matrix.flavor }} --set BUNDLE_PATH="bundles/${{ matrix.bundle }}"

- name: Save logs
if: always()
uses: defenseunicorns/uds-common/.github/actions/save-logs@e2ad99f7caba1b0d08856918db9385a431cfdbca # v0.3.3
with:
suffix: '${{ matrix.flavor }}-${{ github.run_id }}-${{ github.run_attempt }}'
suffix: '${{ matrix.bundle }}-${{ matrix.flavor }}-${{ github.run_id }}-${{ github.run_attempt }}'

0 comments on commit 255e386

Please sign in to comment.