From 4f2546d0bd2f0655bb8cce1a6e3ea77b2374761b Mon Sep 17 00:00:00 2001 From: Joseph Cloutier Date: Fri, 17 Jul 2020 14:05:13 -0400 Subject: [PATCH] Fix CI edge case Depending on how the CI server is set up, the task may fail to create the `lime` command and stop there. For instance, #1416 returned failure due to dependabot's settings, not due to the contents of the pull request. This commit provides a simple workaround for those cases, running only if `lime setup -alias` fails. It shouldn't have any effect in cases that already work. --- .github/workflows/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b77be187e..c29832fe6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -73,6 +73,7 @@ jobs: run: | haxelib dev lime $GITHUB_WORKSPACE haxelib run lime setup -alias -y + lime || alias lime="haxelib run lime" - name: Install "lime" command alias (Windows) if: ${{ startsWith(matrix.os, 'windows-') }}