Skip to content

Added execute permission #15

Added execute permission

Added execute permission #15

Workflow file for this run

name: Build
on:
- "push"
- "workflow_dispatch"
jobs:
build:
runs-on: macos-13
strategy:
matrix:
platform: ['iOS', 'macOS', 'tvOS']
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: recursive
- name: Fetch Commit Info
id: commitinfo
run: echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
- name: Setup Xcode
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest-stable
- name: Build ${{ matrix.platform }}
run: xcodebuild -project "MyAnimeList.xcodeproj" -scheme MyAnimeList-${{ matrix.platform }} -configuration Release -destination generic/platform=${{ matrix.platform }} archive -archivePath "build/MyAnimeList.${{ matrix.platform }}.xcarchive" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO
- name: Package ${{ matrix.platform }}
run: ./Misc/scripts/package.sh "build/MyAnimeList.${{ matrix.platform }}.xcarchive" ${{ matrix.platform }} "MyAnimeList.${{ steps.commitinfo.outputs.sha_short }}.${{ matrix.platform }}"
- name: Upload ${{ matrix.platform }} Symbols
run: ./Misc/scripts/upload_symbols.sh ${{ secrets.APPCENTER_TOKEN }}
- name: Upload ${{ matrix.platform }} Artifacts
uses: actions/upload-artifact@v2
with:
name: MyAnimeList.${{ steps.commitinfo.outputs.sha_short }}.${{ matrix.platform }}
path: build/*
if-no-files-found: error