Create New Release #94
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: 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 }} |