Fix Forgejo workflow: add proper git clone for checkout step
Some checks failed
Compile apt-layer / compile (push) Failing after 0s
Some checks failed
Compile apt-layer / compile (push) Failing after 0s
This commit is contained in:
parent
f45378237c
commit
fefe669e69
1 changed files with 4 additions and 4 deletions
|
|
@ -20,10 +20,10 @@ jobs:
|
|||
steps:
|
||||
- name: Checkout code
|
||||
run: |
|
||||
echo "Using local repository..."
|
||||
# Since we're already in the repository, just ensure we're on the right branch
|
||||
git status
|
||||
echo "Repository ready for compilation"
|
||||
echo "Cloning repository from Forgejo..."
|
||||
git clone http://forgejo:3000/robojerk/particle-os-tools.git .
|
||||
git checkout ${{ github.sha }}
|
||||
echo "Repository checked out successfully"
|
||||
|
||||
- name: Set up environment
|
||||
run: |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue