diff --git a/.github/workflows/main_safehaven2.yml b/.github/workflows/main_safehaven2.yml index c77b079..ea0fe7e 100644 --- a/.github/workflows/main_safehaven2.yml +++ b/.github/workflows/main_safehaven2.yml @@ -26,8 +26,10 @@ jobs: - name: Create artifact archive run: | - mkdir -p artifact - zip -r artifact/node-app.zip . + $zipfile = "artifact\node-app.zip" + $source = "." + [IO.Compression.ZipFile]::CreateFromDirectory($source, $zipfile) + shell: powershell - name: Upload artifact for deployment job uses: actions/upload-artifact@v3