Skip to content

Commit

Permalink
Update workflows.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Pulz-TCP authored Dec 26, 2024
1 parent 88cb17f commit 12e3b06
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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 }}

0 comments on commit 12e3b06

Please sign in to comment.