From 4984d18439926b71c2d5ed19d1abe5a8cf471fe5 Mon Sep 17 00:00:00 2001 From: windowsboy111 Date: Mon, 31 Oct 2022 18:19:15 +0800 Subject: [PATCH] Fix autobuild.yml --- .github/workflows/autobuild.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/autobuild.yml b/.github/workflows/autobuild.yml index edddfd9e62..7ba00d5745 100644 --- a/.github/workflows/autobuild.yml +++ b/.github/workflows/autobuild.yml @@ -14,12 +14,13 @@ jobs: manifest: runs-on: ubuntu-latest outputs: - build_matrix: steps.files.outputs.added_modified + build_matrix: ${{ steps.parse.outputs.b }} steps: - id: files uses: jitterbit/get-changed-files@v1 - with: - format: 'json' + - id: parse + run: echo "${{ steps.files.outputs.added_modified }}" | sed 's/ /\n/g' | sed 's@(.*)/.*@\1/@g/' | jq -R . | jq -s . | jq -c . | sed 's/^/b=/' >> $GITHUB_OUTPUT + build: needs: manifest strategy: