From f10ee28f7112ae8a0255e0a01a5204c1fe41fd43 Mon Sep 17 00:00:00 2001 From: Duy Tran Khanh <40482367+khanhduytran0@users.noreply.github.com> Date: Mon, 29 Apr 2024 15:15:22 +0700 Subject: [PATCH] Switch to Procursus Copy of: https://github.com/khanhduytran0/TrollPad/commit/8aa0197 --- .github/workflows/build.yml | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1cff336..b280094 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,14 +13,34 @@ jobs: - name: Checkout uses: actions/checkout@v3 - - name: Setup Theos - uses: Randomblock1/theos-action@v1.1 + - name: Checkout theos/theos + uses: actions/checkout@main + with: + repository: theos/theos + ref: master + submodules: recursive + path: theos + + - name: Checkout theos/sdks + uses: actions/checkout@main + with: + repository: theos/sdks + ref: master + sparse-checkout: iPhoneOS16.5.sdk + path: theos/sdks + - name: Ensure main utils are installed + uses: dhinakg/procursus-action@main + with: + packages: coreutils make xz ldid + - name: Build run: | + export THEOS=theos + git submodule init git submodule update - make package FINALPACKAGE=1 + gmake package FINALPACKAGE=1 - name: Upload artifact uses: actions/upload-artifact@v3