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.
This commit is contained in:
committed by
Joshua Granick
parent
fe51dea293
commit
4f2546d0bd
1
.github/workflows/main.yml
vendored
1
.github/workflows/main.yml
vendored
@@ -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-') }}
|
||||
|
||||
Reference in New Issue
Block a user