Skip to content

修复由于缺少PocketSVG导致的无法启动。 (#129) #263

修复由于缺少PocketSVG导致的无法启动。 (#129)

修复由于缺少PocketSVG导致的无法启动。 (#129) #263

Workflow file for this run

name: Build workflow
on:
pull_request:
push:
branches: [ "main" ]
jobs:
build:
name: Build ipa
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest-stable
- name: Build
env:
scheme: ${{ 'default' }}
platform: ${{ 'iOS Simulator' }}
run: |
bundle install -j 4
bundle exec fastlane build_unsign_ipa
# - name: List, filter and delete artifacts
# if: github.ref == 'refs/heads/main' && github.event_name == 'push'
# uses: actions/github-script@v6
# id: artifact
# with:
# script: |
# const { owner, repo } = context.issue
# const res = await github.rest.actions.listArtifactsForRepo({
# owner,
# repo,
# })
# res.data.artifacts
# .forEach(({ id }) => { github.rest.actions.deleteArtifact({ owner, repo, artifact_id: id, }) })
- name: Upload latest artifact
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
uses: actions/upload-artifact@v4
with:
name: main-unsigned.ipa
path: BilbiliAtvDemo.ipa
retention-days: 60