From 4e48500dcd688994dbb0964204505a60e1d18796 Mon Sep 17 00:00:00 2001 From: Steven Kreitzer Date: Tue, 31 Dec 2024 13:58:51 -0600 Subject: [PATCH] feat: testing --- .github/workflows/flux-diff.yaml | 11 +---------- .github/workflows/pre-pull-images.yaml | 2 +- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/.github/workflows/flux-diff.yaml b/.github/workflows/flux-diff.yaml index 647a5d53d..0507096cb 100644 --- a/.github/workflows/flux-diff.yaml +++ b/.github/workflows/flux-diff.yaml @@ -56,12 +56,6 @@ jobs: --sources "k8s-gitops" --output-file diff.patch - - name: Generate Diff - id: diff - run: | - diff=$(cat diff.patch) - echo "::set-output name=diff::${diff}" - - if: ${{ steps.diff.outputs.diff != '' }} name: Add Comment uses: mshick/add-pr-comment@v2 @@ -69,10 +63,7 @@ jobs: repo-token: "${{ steps.app-token.outputs.token }}" message-id: "${{ github.event.pull_request.number }}/kubernetes/${{ matrix.resources }}" message-failure: Diff was not successful - message: | - ```diff - ${{ steps.diff.outputs.diff }} - ``` + message-path: diff.patch # Summarize matrix https://github.community/t/status-check-for-a-matrix-jobs/127354/7 flux-diff-success: diff --git a/.github/workflows/pre-pull-images.yaml b/.github/workflows/pre-pull-images.yaml index 3ecc8cb48..a8b8dac04 100644 --- a/.github/workflows/pre-pull-images.yaml +++ b/.github/workflows/pre-pull-images.yaml @@ -57,7 +57,7 @@ jobs: shell: bash run: | images=$(jq --compact-output --raw-input --null-input '[inputs]' images.txt) - echo "::set-output name=${{ matrix.branches }}::${images}" + echo "${{ matrix.branches }}=${images}" >> $GITHUB_OUTPUT compare-images: name: Compare Images