Change workflow
Build probe jar / build (push) Failing after 1s

This commit is contained in:
gerviba committed 2026-11-01 18:51:21 +01:00
1 parent e1e03ba73f
commit 2eda9da9de
1 file changed
+8 -2
+8 -2
View File
@@ -3,7 +3,7 @@ name: Build probe jar
on:
push:
branches:
- main
- master
workflow_dispatch: {}
jobs:
@@ -15,7 +15,13 @@ jobs:
- /home/clustermaster/storage/cdn/serve/internal/probe:/output
steps:
- name: Check out repository
uses: actions/checkout@v4
run: |
command -v git >/dev/null || (apt-get update && apt-get install -y --no-install-recommends git)
auth=$(printf '%s' "x-access-token:${GITHUB_TOKEN}" | base64 -w0)
git init -q .
git -c http.extraHeader="Authorization: Basic ${auth}" \
fetch --depth=1 "${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}.git" "${GITHUB_SHA}"
git checkout -q FETCH_HEAD
- name: Build shadow jar
run: |