From 4d9051103fb7ecd30080e250a5796537cc81df26 Mon Sep 17 00:00:00 2001 From: Silvio Traversaro Date: Tue, 17 Sep 2024 23:27:29 +0200 Subject: [PATCH] Update testpr.yml --- .github/workflows/testpr.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/testpr.yml b/.github/workflows/testpr.yml index 03eff300..9d1bf047 100644 --- a/.github/workflows/testpr.yml +++ b/.github/workflows/testpr.yml @@ -116,7 +116,7 @@ jobs: # Workaround for https://github.com/prefix-dev/rattler-build/issues/981 mkdir recipe_dir mv recipe.yaml ./recipe_dir - mv patches/ ./recipe_dir + [ -d "patch/" ] && mv patch/ ./recipe_dir - name: Generate recipes for linux-aarch64 shell: bash -l {0} if: steps.filecheck.outputs.LINUX_AARCH_YAML_CHANGED == 1 && matrix.os == 'ubuntu-latest' && matrix.platform == 'linux-aarch64' @@ -127,7 +127,7 @@ jobs: # Workaround for https://github.com/prefix-dev/rattler-build/issues/981 mkdir recipe_dir mv recipe.yaml ./recipe_dir - mv patches/ ./recipe_dir + [ -d "patch/" ] && mv patch/ ./recipe_dir - name: Generate recipes for osx-64 shell: bash -l {0} if: steps.filecheck.outputs.OSX_YAML_CHANGED == 1 && matrix.os == 'macos-latest' && matrix.platform == 'osx-64' @@ -138,7 +138,7 @@ jobs: # Workaround for https://github.com/prefix-dev/rattler-build/issues/981 mkdir recipe_dir mv recipe.yaml ./recipe_dir - mv patches/ ./recipe_dir + [ -d "patch/" ] && mv patch/ ./recipe_dir - name: Generate recipes for osx-arm64 shell: bash -l {0} if: steps.filecheck.outputs.OSX_ARM_YAML_CHANGED == 1 && matrix.os == 'macos-14' && matrix.platform == 'osx-arm64' @@ -149,7 +149,7 @@ jobs: # Workaround for https://github.com/prefix-dev/rattler-build/issues/981 mkdir recipe_dir mv recipe.yaml ./recipe_dir - mv patches/ ./recipe_dir + [ -d "patch/" ] && mv patch/ ./recipe_dir - name: Generate recipes for win-64 shell: bash -l {0} if: steps.filecheck.outputs.WIN_YAML_CHANGED == 1 && matrix.os == 'windows-2019' && matrix.platform == 'win-64' @@ -160,7 +160,7 @@ jobs: # Workaround for https://github.com/prefix-dev/rattler-build/issues/981 mkdir recipe_dir mv recipe.yaml ./recipe_dir - mv patches/ ./recipe_dir + [ -d "patch/" ] && mv patch/ ./recipe_dir - name: Check if there are packages to be built id: newrecipecheck shell: bash -l {0}