diff --git a/.github/workflows/build-kernel.yml b/.github/workflows/build-kernel.yml index 740894bb..8164993b 100644 --- a/.github/workflows/build-kernel.yml +++ b/.github/workflows/build-kernel.yml @@ -55,7 +55,7 @@ jobs: - name: Remove previous artefacts if any run: | - sudo rm -rf changes.txt 2>/dev/null || true + sudo rm -rf changes 2>/dev/null || true - name: Download changes uses: actions/download-artifact@v2 @@ -66,7 +66,7 @@ jobs: id: list_dirs run: | - echo ::set-output name=matrix::$(for x in $(cat changes); do echo $x; done|jq -cnR '[inputs | select(length>0)]' | jq) + echo ::set-output name=matrix::$(for x in $(cat changes 2>/dev/null); do echo $x; done|jq -cnR '[inputs | select(length>0)]' | jq) gcc: needs: [ Prepare ]