Files
location-spoofer/.github/workflows/release.yml
T
xweiba e137ff10e9 release: PaopaoLocationSpoofer v1.0.0
- iOS 虚拟定位工具,基于本地 HTTP 代理 MITM 方案
- MapKit 原生地图体验,支持搜索、收藏、实时定位
- 完整的设置引导流程(证书安装、WiFi 代理配置、环境验证)
- 支持 iOS 15+,SwiftUI 构建
2026-08-05 15:39:57 +08:00

61 lines
1.5 KiB
YAML

name: Build and Release IPA
on:
push:
tags:
- 'v*'
jobs:
build:
runs-on: macos-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Xcode
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest-stable
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.23'
- name: Install XcodeGen
run: brew install xcodegen
- name: Build unsigned IPA
run: ./build.sh
- name: Rename IPA for release
run: mv dist/PaopaoLocationSpoofer-unsigned.ipa dist/Location-Spoofer-unsigned.ipa
- name: Read release notes
id: changelog
run: |
VERSION="${{ github.ref_name }}"
NOTES_FILE="docs/releases/${VERSION}.md"
if [ -f "$NOTES_FILE" ]; then
cat "$NOTES_FILE" > /tmp/release_notes.md
else
echo "⚠️ $NOTES_FILE 未找到,请创建该文件。" > /tmp/release_notes.md
fi
{
echo "notes<<EOF"
cat /tmp/release_notes.md
echo "EOF"
} >> $GITHUB_OUTPUT
- name: Create Release
uses: softprops/action-gh-release@v2
with:
name: "${{ github.ref_name }}"
body_path: /tmp/release_notes.md
files: dist/Location-Spoofer-unsigned.ipa
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}