mirror of
https://github.com/erlef/setup-beam.git
synced 2026-07-22 22:56:07 +00:00
Try to prevent 403 when accessing the GitHub API (#168)
* Repeat request on error (while logging it) * Test one change at a time * Conditionally authorize requests This seems to affect Windows builds, so might not be the best solution, but we're trying to isolate the issue to move forward * Act on CI results * Ease consumption via a JSON.parse wrapper We still throw the error, but in a more controlled manner * Act on CI results
This commit is contained in:
committed by
GitHub
parent
2d314bc413
commit
37ac1c5116
@@ -9,6 +9,9 @@ on:
|
||||
branches:
|
||||
- main
|
||||
|
||||
env:
|
||||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||
|
||||
jobs:
|
||||
check_integrity:
|
||||
name: Expected local npm actions
|
||||
@@ -28,7 +31,7 @@ jobs:
|
||||
- run: npm run yamllint
|
||||
- run: npm run jslint
|
||||
- name: Check if build left artifacts
|
||||
run: git diff --exit-code
|
||||
run: git diff --exit-code --ignore-space-at-eol
|
||||
|
||||
unit_tests_ubuntu:
|
||||
name: Unit tests (Ubuntu)
|
||||
|
||||
Reference in New Issue
Block a user