mirror of
https://github.com/seriousm4x/UpSnap.git
synced 2026-07-22 05:32:27 -04:00
gh-action: add quotes
This commit is contained in:
4
.github/workflows/go-test.yml
vendored
4
.github/workflows/go-test.yml
vendored
@@ -15,9 +15,9 @@ jobs:
|
||||
runners=$(curl -s -H "Accept: application/vnd.github+json" -H "Authorization: token ${{ secrets.REPO_ACCESS_TOKEN }}" "https://api.github.com/repos/${{ github.repository }}/actions/runners")
|
||||
available=$(echo "$runners" | jq '.runners[] | select(.status == "online" and .busy == false and .labels[] .name == "self-hosted")')
|
||||
if [ -n "$available" ]; then
|
||||
echo "runner-label=self-hosted" >> $GITHUB_OUTPUT
|
||||
echo "runner-label='self-hosted'" >> $GITHUB_OUTPUT
|
||||
else
|
||||
echo "runner-label=ubuntu-latest" >> $GITHUB_OUTPUT
|
||||
echo "runner-label='ubuntu-latest'" >> $GITHUB_OUTPUT
|
||||
fi
|
||||
|
||||
build:
|
||||
|
||||
Reference in New Issue
Block a user