Aggiornamento staging #1
@@ -99,6 +99,21 @@ jobs:
|
|||||||
packages: write
|
packages: write
|
||||||
|
|
||||||
steps:
|
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
|
- name: Debug - Check working directory
|
||||||
run: |
|
run: |
|
||||||
echo Current directory:
|
echo Current directory:
|
||||||
|
|||||||
Reference in New Issue
Block a user