Skip to content

Commit

Permalink
add support for Orion
Browse files Browse the repository at this point in the history
  • Loading branch information
Randomblock1 committed Jan 19, 2023
1 parent 05166c2 commit 401afa0
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ You must use a MacOS or Linux runner. Windows is not supported, and probably nev
# This is where the Theos SDKs will be git cloned from.
# Useful for using frameworks that aren't in the official repo.
theos-sdks: 'https://github.com/theos/sdks'

# Whether to enable Orion, which adds support for Swift tweaks
orion: 'false'
```

## Example
Expand Down
13 changes: 13 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ inputs:
description: "Where to clone the iOS SDKs from (git URL)"
required: false
default: "https://github.com/theos/sdks"
orion:
description: "Whether to enable Orion, which adds support for Swift tweaks"
required: false
default: "false"

runs:
using: "composite"
Expand Down Expand Up @@ -74,3 +78,12 @@ runs:
mv $TMP/*-master/*.sdk $THEOS/sdks
rm -r master.zip $TMP
fi
- name: Enable Orion
shell: bash
if: inputs.orion == 'true'
run: |
cd ${{ inputs.theos-dir }}
git fetch
git checkout orion
git submodule update --init

0 comments on commit 401afa0

Please sign in to comment.