1 parent
e1e03ba73f
commit
2eda9da9de
1 file changed
+8
-2
@@ -3,7 +3,7 @@ name: Build probe jar
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- master
|
||||||
workflow_dispatch: {}
|
workflow_dispatch: {}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@@ -15,7 +15,13 @@ jobs:
|
|||||||
- /home/clustermaster/storage/cdn/serve/internal/probe:/output
|
- /home/clustermaster/storage/cdn/serve/internal/probe:/output
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- 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
|
- name: Build shadow jar
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in new issue
Block a user