Create New Release #88
This file contains hidden or 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
| name: Create New Release | |
| on: | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: macos-26 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Initialize submodules | |
| run: | | |
| git submodule sync --recursive | |
| git submodule update --init --recursive | |
| - name: Clean build artifacts | |
| run: | | |
| rm -rf "$RUNNER_TEMP/NexStore" | |
| rm -rf ~/Library/Developer/Xcode/DerivedData/* | |
| rm -rf .build | |
| - name: Use Xcode 26.2 | |
| run: | | |
| sudo xcode-select -s /Applications/Xcode_26.2.app/Contents/Developer | |
| - name: Debug AltSign ldid checkout | |
| run: | | |
| echo "== submodule status ==" | |
| git submodule status --recursive || true | |
| echo "== AltSign state ==" | |
| git -C AltSign rev-parse HEAD || true | |
| git -C AltSign/Dependencies/ldid rev-parse HEAD || true | |
| echo "== Uid files ==" | |
| find AltSign -path '*/Uid.cpp' -o -path '*/Uid.h' | sort || true | |
| echo "== Uid.cpp operator signature ==" | |
| grep -RIn 'operator=' AltSign/Dependencies/ldid/libplist/src/Uid.cpp || true | |
| echo "== Uid.h operator signature ==" | |
| grep -RIn 'operator=' AltSign/Dependencies/ldid/libplist/include/plist/Uid.h || true | |
| - name: Compile NexStore | |
| run: | | |
| export TMPDIR="${RUNNER_TEMP}" | |
| BUILD_NUMBER=$(git rev-parse HEAD) | |
| # agvtool mis-parses GENERATE_INFOPLIST_FILE and treats YES as a plist path. | |
| make BUILD_NUMBER="${BUILD_NUMBER}" | |
| mkdir upload | |
| mv packages/* upload/ | |
| - name: Get Version | |
| id: get_version | |
| run: | | |
| VERSION=$(/usr/libexec/PlistBuddy -c "Print CFBundleShortVersionString" Payload/*.app/Info.plist) | |
| echo "VERSION=${VERSION}" >> $GITHUB_ENV | |
| - name: Create Release | |
| uses: softprops/action-gh-release@v2 | |
| with: | |
| name: NexStore v${{ env.VERSION }} | |
| tag_name: v${{ env.VERSION }} | |
| files: | | |
| upload/*ipa | |
| generate_release_notes: true | |
| fail_on_unmatched_files: true | |
| draft: true | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |