From 33edf9abd1189e451d927184673e771349aa6a98 Mon Sep 17 00:00:00 2001 From: Captain Throwback Date: Tue, 28 Nov 2023 20:25:56 -0500 Subject: [PATCH] Check if dependencies file exists --- .github/workflows/Recovery Build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/Recovery Build.yml b/.github/workflows/Recovery Build.yml index 47b496594..4c4daf5fc 100644 --- a/.github/workflows/Recovery Build.yml +++ b/.github/workflows/Recovery Build.yml @@ -133,11 +133,11 @@ jobs: if_false: omni - name: Sync Device Dependencies + if: ${{ hashFiles("${{ steps.pwd.outputs.workspace-folder }}/${{ github.event.inputs.DEVICE_PATH }}/${{ steps.buildtree.outputs.value }}.dependencies") != '' }} run: | bash ${GITHUB_WORKSPACE}/scripts/convert.sh ${{ github.event.inputs.DEVICE_PATH }}/${{ steps.buildtree.outputs.value }}.dependencies repo sync -j$(nproc --all) working-directory: ${{ steps.pwd.outputs.workspace-folder }} - continue-on-error: true - name: Set Swap Space uses: pierotofy/set-swap-space@master