Skip to content

Commit

Permalink
Actions updated
Browse files Browse the repository at this point in the history
  • Loading branch information
bubundas17 committed Nov 26, 2023
1 parent ef35a9e commit 288f561
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 288f561

Please sign in to comment.