Skip to content

Commit

Permalink
Add autozip
Browse files Browse the repository at this point in the history
  • Loading branch information
Coopydood committed Apr 26, 2024
1 parent 824d420 commit c51524d
Show file tree
Hide file tree
Showing 2 changed files with 111 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# These are supported funding model platforms

github: Coopydood # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
polar: # Replace with a single Polar username
buy_me_a_coffee: # Replace with a single Buy Me a Coffee username
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
97 changes: 97 additions & 0 deletions .github/workflows/autozip.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
name: AutoZip

on:
workflow_dispatch:
push:
paths-ignore:
- "EXTRAS/**"
- "EFI.zip"

jobs:
zip-files:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.PAT }}
- uses: vimtor/action-zip@v1.1
with:
files: OC/ACPI/ OC/Drivers/ OC/Resources/ OC/Tools/ OC/config.plist OC/OpenCore.efi OC/.contentFlavour OC/.contentVisibility OC/Kexts/AirportItlwm_BigSur.kext OC/Kexts/AirportItlwm_Catalina.kext OC/Kexts/AirportItlwm_Monterey.kext OC/Kexts/AirportItlwm_SonomaV2.kext OC/Kexts/AirportItlwm_Ventura.kext OC/Kexts/AppleALC.kext OC/Kexts/BlueToolFixup.kext OC/Kexts/FeatureUnlock.kext OC/Kexts/IntelBluetoothFirmware.kext OC/Kexts/IntelBluetoothInjector.kext OC/Kexts/IntelBTPatcher.kext OC/Kexts/Lilu.kext OC/Kexts/NVMeFix.kext OC/Kexts/RTCMemoryFixup.kext OC/Kexts/SMCProcessor.kext OC/Kexts/SMCRadeonSensors.kext OC/Kexts/SMCSuperIO.kext OC/Kexts/USBMapDummy.kext OC/Kexts/VirtualSMC.kext OC/Kexts/WhateverGreen.kext OC/Kexts/Z490E_USBMap.kext BOOT/
dest: ./EFI.zip

- uses: EndBug/add-and-commit@v9 # You can change this to use a specific version.
with:
# The arguments for the `git add` command (see the paragraph below for more info)
# Default: '.'
add: './EFI.zip'

# The name of the user that will be displayed as the author of the commit.
# Default: depends on the default_author input
author_name: CPYD Bot

# The email of the user that will be displayed as the author of the commit.
# Default: depends on the default_author input
author_email: bot@coopydood.com

# Additional arguments for the git commit command. The --message argument is already set by the message input.
# Default: ''
commit: --signoff

# The name of the custom committer you want to use, if different from the author of the commit.
# Default: the name of the author (set with either author_name or default_author)
committer_name: CPYD Bot

# The email of the custom committer you want to use, if different from the author of the commit.
# Default: the email of the author (set with either author_email or default_author)
committer_email: bot@coopydood.com

# The local path to the directory where your repository is located. You should use actions/checkout first to set it up.
# Default: '.'
cwd: '.'

# Determines the way the action fills missing author name and email. Three options are available:
# - github_actor -> UserName <UserName@users.noreply.github.com>
# - user_info -> Your Display Name <your-actual@email.com>
# - github_actions -> github-actions <email associated with the github logo>
# Default: github_actor
default_author: github_actor

# Arguments for the git fetch command. If set to false, the action won't fetch the repo.
# For more info as to why fetching is usually recommended, please see the "Performance on large repos" FAQ.
# Default: --tags --force
fetch: --tags --force

# The message for the commit.
# Default: 'Commit from GitHub Actions (name of the workflow)'
message: 'AutoZip OC folders'

# If this input is set, the action will push the commit to a new branch with this name.
# Default: ''
new_branch: ''

# The way the action should handle pathspec errors from the add and remove commands. Three options are available:
# - ignore -> errors will be logged but the step won't fail
# - exitImmediately -> the action will stop right away, and the step will fail
# - exitAtEnd -> the action will go on, every pathspec error will be logged at the end, the step will fail.
# Default: ignore
pathspec_error_handling: ignore

# Arguments for the git pull command. By default, the action does not pull.
# Default: ''
pull: ''

# Whether to push the commit and, if any, its tags to the repo. It can also be used to set the git push arguments (see the paragraph below for more info)
# Default: true
push: true

# The arguments for the `git rm` command (see the paragraph below for more info)
# Default: ''
remove: ''

# Arguments for the git tag command (the tag name always needs to be the first word not preceded by an hyphen)
# Default: ''
tag: ''

# Arguments for the git push --tags command (any additional argument will be added after --tags)
# Default: ''
tag_push: ''

0 comments on commit c51524d

Please sign in to comment.