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:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
run: |
|
run: |
|
||||||
echo "Using local repository..."
|
echo "Cloning repository from Forgejo..."
|
||||||
# Since we're already in the repository, just ensure we're on the right branch
|
git clone http://forgejo:3000/robojerk/particle-os-tools.git .
|
||||||
git status
|
git checkout ${{ github.sha }}
|
||||||
echo "Repository ready for compilation"
|
echo "Repository checked out successfully"
|
||||||
|
|
||||||
- name: Set up environment
|
- name: Set up environment
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue