update backend checkout
Some checks failed
checks / Set up Node and other necessary dependencies for Frontend Tests and Build (push) Successful in 11s
checks / Set up Java for Backend Tests and Build (push) Failing after 4s
Gitea Actions Demo / Explore-Gitea-Actions (pull_request) Successful in 3s
Gitea Actions Demo / Explore-Gitea-Actions-2 (pull_request) Successful in 2s
checks / Set up Node and other necessary dependencies for Frontend Tests and Build (pull_request) Successful in 12s
checks / Set up Java for Backend Tests and Build (pull_request) Failing after 3s
Some checks failed
checks / Set up Node and other necessary dependencies for Frontend Tests and Build (push) Successful in 11s
checks / Set up Java for Backend Tests and Build (push) Failing after 4s
Gitea Actions Demo / Explore-Gitea-Actions (pull_request) Successful in 3s
Gitea Actions Demo / Explore-Gitea-Actions-2 (pull_request) Successful in 2s
checks / Set up Node and other necessary dependencies for Frontend Tests and Build (pull_request) Successful in 12s
checks / Set up Java for Backend Tests and Build (pull_request) Failing after 3s
This commit is contained in:
@ -86,16 +86,17 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
# Checkout repository first (critical)
|
# Checkout repository first
|
||||||
- name: Checkout repository
|
- name: Checkout repository manually
|
||||||
uses: actions/checkout@v3
|
|
||||||
env:
|
env:
|
||||||
TOKEN: ${{ secrets.ACCESS_TOKEN }}
|
TOKEN: ${{ secrets.ACCESS_TOKEN }}
|
||||||
CLONE_URL: ${{ vars.CLONE_URL }}
|
CLONE_URL: ${{ vars.CLONE_URL }}
|
||||||
with:
|
run: |
|
||||||
repository: ${{ gitea.repository }}
|
echo "Cloning from $CLONE_URL"
|
||||||
token: ${{ secrets.ACCESS_TOKEN }}
|
echo "Cloning ALL_REPO_TOKEN $ALL_REPO_TOKEN"
|
||||||
ref: ${{ gitea.ref }}
|
CLONE_URL_WITH_AUTH=$(echo "$CLONE_URL" | sed "s#https://#https://$ALL_REPO_TOKEN@#")
|
||||||
|
git clone --quiet "$CLONE_URL_WITH_AUTH" .
|
||||||
|
echo "${{ gitea.repository }} cloned successfully."
|
||||||
|
|
||||||
# Setup Java 21 and Maven with caching
|
# Setup Java 21 and Maven with caching
|
||||||
- name: Set up Java & Maven
|
- name: Set up Java & Maven
|
||||||
|
|||||||
Reference in New Issue
Block a user