From 288f5616680d23e468961ad6a96bbb18a6ffe6ea Mon Sep 17 00:00:00 2001 From: Bubun Das Date: Sun, 26 Nov 2023 18:46:36 +0000 Subject: [PATCH] Actions updated --- .github/workflows/main.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5718464..e68bf4e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,17 +16,17 @@ jobs: - name: Create Zip Archive run: | # Create a "scalewithus" folder inside the zip - mkdir -p scalewithus + mkdir -p /tmp/scalewithus # Copy all files from the main branch to the "scalewithus" folder - cp -r ./* scalewithus/ + cp -r ./* /tmp/scalewithus/ # Create a zip archive named "archive.zip" containing the "scalewithus" folder - zip -r archive.zip scalewithus/ + zip -r archive.zip /tmp/scalewithus/ # Optionally, you can move the archive to a specific location or upload it as an artifact - mv archive.zip path/to/destination/ # Move the archive to a specific location - echo "::set-output name=zip-path::path/to/destination/archive.zip" # Set an output variable to pass the zip file path to the next step + mv archive.zip /tmp/scalewithus/ # Move the archive to a specific location + echo "::set-output name=zip-path::/tmp/scalewithus/archive.zip" # Set an output variable to pass the zip file path to the next step working-directory: ${{ github.workspace }} - name: Upload Zip Artifact