-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
9 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,23 +15,26 @@ jobs: | |
steps: | ||
- name: Checkout the repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up Git LFS | ||
run: | | ||
git lfs install | ||
git lfs track "*.zip" # Track .zip files with Git LFS | ||
- name: Create zip for x32-TCP-Sphax_PatchPack | ||
run: | | ||
zip -r sphax_patch_pack/x32-TCP-Sphax_PatchPack.zip sphax_patch_pack/x32-TCP-Sphax_PatchPack/* | ||
cd sphax_patch_pack/x32-TCP-Sphax_PatchPack | ||
zip -r ../x32-TCP-Sphax_PatchPack.zip ./* | ||
- name: Create zip for x64-TCP-Sphax_PatchPack | ||
run: | | ||
zip -r sphax_patch_pack/x64-TCP-Sphax_PatchPack.zip sphax_patch_pack/x64-TCP-Sphax_PatchPack/* | ||
cd sphax_patch_pack/x64-TCP-Sphax_PatchPack | ||
zip -r ../x64-TCP-Sphax_PatchPack.zip ./* | ||
- name: Create zip for x128-TCP-Sphax_PatchPack | ||
run: | | ||
zip -r sphax_patch_pack/x128-TCP-Sphax_PatchPack.zip sphax_patch_pack/x128-TCP-Sphax_PatchPack/* | ||
cd sphax_patch_pack/x128-TCP-Sphax_PatchPack | ||
zip -r ../x128-TCP-Sphax_PatchPack.zip ./* | ||
- name: List files in sphax_patch_pack | ||
run: | | ||
|
@@ -43,6 +46,6 @@ jobs: | |
git config user.email "[email protected]" | ||
git add sphax_patch_pack/*.zip | ||
git commit -m "Add .zip files for patched folders" | ||
git push origin master # Make sure this pushes to the correct branch (e.g., `main` or `master`) | ||
git push origin master # Adjust branch if necessary (e.g., main) | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |