ci) revert to manual checkout in workflows
Some checks failed
PR Checks / lint-test-and-docker-build (pull_request) Failing after 6m16s
Some checks failed
PR Checks / lint-test-and-docker-build (pull_request) Failing after 6m16s
This commit is contained in:
@@ -15,10 +15,16 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: https://cloud.campbellwireless.net/git/actions/checkout@v1
|
env:
|
||||||
with:
|
REPO_URL: https://cloud.campbellwireless.net/git/${{ github.repository }}.git
|
||||||
server-url: https://cloud.campbellwireless.net/git
|
run: |
|
||||||
fetch-depth: 0
|
set -eux
|
||||||
|
git init .
|
||||||
|
git remote add origin "$REPO_URL"
|
||||||
|
auth="$(printf '%s' '${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}' | base64 | tr -d '\n')"
|
||||||
|
git config --local http.https://cloud.campbellwireless.net/.extraheader "AUTHORIZATION: basic $auth"
|
||||||
|
git fetch --prune --no-recurse-submodules origin +refs/heads/*:refs/remotes/origin/* +refs/tags/*:refs/tags/*
|
||||||
|
git checkout --detach "${{ github.sha }}"
|
||||||
|
|
||||||
- name: Setup Docker Buildx
|
- name: Setup Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
|
|||||||
@@ -9,7 +9,16 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: https://cloud.campbellwireless.net/git/actions/checkout@v1
|
env:
|
||||||
|
REPO_URL: https://cloud.campbellwireless.net/git/${{ github.repository }}.git
|
||||||
|
run: |
|
||||||
|
set -eux
|
||||||
|
git init .
|
||||||
|
git remote add origin "$REPO_URL"
|
||||||
|
auth="$(printf '%s' '${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}' | base64 | tr -d '\n')"
|
||||||
|
git config --local http.https://cloud.campbellwireless.net/.extraheader "AUTHORIZATION: basic $auth"
|
||||||
|
git fetch --prune --no-recurse-submodules origin +refs/heads/*:refs/remotes/origin/* +refs/tags/*:refs/tags/*
|
||||||
|
git checkout --detach "${{ github.sha }}"
|
||||||
|
|
||||||
- name: Setup Bun
|
- name: Setup Bun
|
||||||
uses: oven-sh/setup-bun@v2
|
uses: oven-sh/setup-bun@v2
|
||||||
|
|||||||
Reference in New Issue
Block a user