Checkout repository manually
- Updates workflow to clone the repository manually. - Installs git as a prerequisite for cloning. - Uses apt-get to install git. - Clones the repository using git clone.
This commit is contained in:
parent
96907f02b0
commit
57e9a1ab2b
@ -15,8 +15,10 @@ jobs:
|
|||||||
TERM: dumb
|
TERM: dumb
|
||||||
DEBIAN_FRONTEND: noninteractive
|
DEBIAN_FRONTEND: noninteractive
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout manually
|
||||||
uses: actions/checkout@v3
|
run: |
|
||||||
|
apt-get update && apt-get install -y git
|
||||||
|
git clone https://gitea.example.com/your/repo.git .
|
||||||
|
|
||||||
- name: Install Git
|
- name: Install Git
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user