Skip to content

Commit

Permalink
Workflow automatically creates the .zip files after a change
Browse files Browse the repository at this point in the history
  • Loading branch information
Pulz-TCP committed Dec 21, 2024
1 parent 607f435 commit 5ecaa12
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,12 @@ jobs:
run: |
ls -al sphax_patch_pack/
- name: Upload zip files as artifacts
uses: actions/upload-artifact@v3
with:
name: zipped-folders
path: |
sphax_patch_pack/x32-TCP-Sphax_PatchPack.zip
sphax_patch_pack/x64-TCP-Sphax_PatchPack.zip
sphax_patch_pack/x128-TCP-Sphax_PatchPack.zip
- name: Commit and push the .zip files to the repository
run: |
git config user.name "GitHub Actions"
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`)
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 5ecaa12

Please sign in to comment.