fix: install jq since Alpine lacks it
This commit is contained in:
@@ -21,6 +21,11 @@ jobs:
|
||||
|
||||
- name: Process Statistics and Update README
|
||||
run: |
|
||||
if ! command -v jq &> /dev/null; then
|
||||
if command -v apk &> /dev/null; then apk add --no-cache jq;
|
||||
elif command -v apt-get &> /dev/null; then apt-get update && apt-get install -y jq; fi
|
||||
fi
|
||||
|
||||
USER_URL="http://gitea-http:3000/api/v1/users/patrick/heatmap"
|
||||
|
||||
RAW_DATA=$(wget -qO- --header="Authorization: token ${{ secrets.GITHUB_TOKEN }}" "$USER_URL")
|
||||
|
||||
Reference in New Issue
Block a user