This commit is contained in:
@@ -10,11 +10,16 @@ jobs:
|
||||
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
|
||||
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
|
||||
|
||||
- name: Configure Git credentials
|
||||
run: |
|
||||
git config --global credential.helper store
|
||||
git config --global credential.https://git.lukas-harat.com.username "${{ secrets.GIT_USERNAME }}"
|
||||
printf "https://%s:%s@git.lukas-harat.com\n" \
|
||||
"${{ secrets.GIT_USERNAME }}" \
|
||||
"${{ secrets.GIT_TOKEN }}" > ~/.git-credentials
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v5
|
||||
with:
|
||||
token: ${{ secrets.GIT_TOKEN }}
|
||||
fetch-depth: 1
|
||||
|
||||
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
|
||||
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
|
||||
|
||||
Reference in New Issue
Block a user