-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
project: add lite build without Network Extensions
- Loading branch information
Showing
4 changed files
with
334 additions
and
2 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 |
---|---|---|
|
@@ -42,6 +42,23 @@ jobs: | |
with: | ||
name: Jitterbug | ||
path: Jitterbug.xcarchive.tgz | ||
build-ios-lite: | ||
name: Jitterbug Lite | ||
runs-on: macos-10.15 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
submodules: recursive | ||
- name: Build | ||
run: xcodebuild archive -archivePath JitterbugLite -scheme JitterbugLite -configuration Release CODE_SIGNING_ALLOWED=NO | ||
- name: Compress | ||
run: tar cf JitterbugLite.xcarchive.tgz JitterbugLite.xcarchive | ||
- name: Upload | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: JitterbugLite | ||
path: JitterbugLite.xcarchive.tgz | ||
build-macos-ui: | ||
name: Jitterbug (macOS) | ||
runs-on: macos-10.15 | ||
|
@@ -153,6 +170,39 @@ jobs: | |
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} | ||
repository: ${{ secrets.DISPATCH_ALTSTORE_REPO_NAME }} | ||
event-type: new-release | ||
package-ipa-lite: | ||
name: Package IPA Lite | ||
runs-on: ubuntu-20.04 | ||
needs: build-ios-lite | ||
if: github.event_name == 'release' || github.event.inputs.test_release == 'true' | ||
steps: | ||
- name: Download Artifact | ||
uses: actions/download-artifact@v2 | ||
with: | ||
name: JitterbugLite | ||
- name: Package IPA | ||
run: | | ||
tar xf JitterbugLite.xcarchive.tgz | ||
mv JitterbugLite.xcarchive/Products/Applications Payload | ||
zip -r JitterbugLite.ipa Payload -x "._*" -x ".DS_Store" -x "__MACOSX" | ||
- name: Upload Release Asset | ||
if: github.event_name == 'release' | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ github.event.release.upload_url }} | ||
asset_path: JitterbugLite.ipa | ||
asset_name: JitterbugLite.ipa | ||
asset_content_type: application/octet-stream | ||
- name: Send Dispatch Event | ||
if: github.event_name == 'release' | ||
continue-on-error: true | ||
uses: peter-evans/repository-dispatch@v1 | ||
with: | ||
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} | ||
repository: ${{ secrets.DISPATCH_ALTSTORE_REPO_NAME }} | ||
event-type: new-release | ||
package-dmg: | ||
name: Package DMG | ||
runs-on: macos-10.15 | ||
|
Oops, something went wrong.