Skip to content

Commit

Permalink
Update zipit.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel99j2 authored Jul 11, 2024
1 parent 52e01fb commit 6eecafb
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/zipit.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Zip Files
name: Combine and Zip Files

on:
push:
Expand All @@ -17,10 +17,18 @@ jobs:
uses: actions/checkout@v2

- name: Set up zip
run: sudo apt-get install zip -y
run: sudo apt-get install zip unzip -y

- name: Create pack.zip excluding the existing pack.zip
run: zip -r pack.zip . -x "pack.zip"
- name: Unzip tweaks.zip
run: unzip tweaks.zip -d tweaks

- name: Copy repository files over tweaks files
run: cp -r . tweaks/

- name: Create pack.zip excluding tweaks.zip and extracted tweaks folder
run: |
cd tweaks
zip -r ../pack.zip . -x "tweaks.zip" "tweaks/"
- name: Commit and push pack.zip
env:
Expand Down

0 comments on commit 6eecafb

Please sign in to comment.