[Fix] Rimosso checkout manuale Windows
- Gitea Actions clona automaticamente il repository - Non serve checkout manuale con git - Il codice è già presente nella working directory - Fix: git non riconosciuto su runner Windows
This commit is contained in:
@@ -99,12 +99,6 @@ jobs:
|
|||||||
packages: write
|
packages: write
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository (manual git)
|
|
||||||
run: |
|
|
||||||
git config --global core.autocrlf false
|
|
||||||
git clone --depth 1 --branch ${{ github.ref_name }} https://github.com/${{ github.repository }} .
|
|
||||||
shell: cmd
|
|
||||||
|
|
||||||
- name: Log in to Gitea Container Registry
|
- name: Log in to Gitea Container Registry
|
||||||
run: echo ${{ secrets.REGISTRY_TOKEN }} | docker login ${{ env.REGISTRY }} -u alessio --password-stdin
|
run: echo ${{ secrets.REGISTRY_TOKEN }} | docker login ${{ env.REGISTRY }} -u alessio --password-stdin
|
||||||
shell: cmd
|
shell: cmd
|
||||||
|
|||||||
Reference in New Issue
Block a user