Aggiornamento staging #1
@@ -99,6 +99,21 @@ jobs:
|
||||
packages: write
|
||||
|
||||
steps:
|
||||
- name: Download repository archive
|
||||
run: |
|
||||
echo Downloading repository from GitHub...
|
||||
curl -L -o repo.zip https://github.com/${{ github.repository }}/archive/refs/heads/${{ github.ref_name }}.zip
|
||||
echo Extracting archive...
|
||||
tar -xf repo.zip
|
||||
echo Moving files to current directory...
|
||||
for /d %%d in (*-${{ github.ref_name }}) do (
|
||||
xcopy "%%d\*" . /E /I /Y
|
||||
rmdir "%%d" /S /Q
|
||||
)
|
||||
del repo.zip
|
||||
echo Repository downloaded and extracted
|
||||
shell: cmd
|
||||
|
||||
- name: Debug - Check working directory
|
||||
run: |
|
||||
echo Current directory:
|
||||
|
||||
Reference in New Issue
Block a user