Skip to content
This repository has been archived by the owner on Aug 15, 2024. It is now read-only.

Merge pull request #121 from c4dt/add-dir-check #47

Merge pull request #121 from c4dt/add-dir-check

Merge pull request #121 from c4dt/add-dir-check #47

Workflow file for this run

name: iOS-Release
on:
push:
tags:
- '*'
jobs:
release:
runs-on: macos-latest
steps:
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest-stable
- uses: actions/checkout@v2
- uses: Swatinem/rust-cache@v1
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
target: x86_64-apple-ios
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
target: aarch64-apple-ios
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
target: aarch64-apple-ios-sim
- name: Build XCFramework
run: |
make build-ios
shasum -a 256 lightarti-rest.xcframework.zip >> ios/body.md
- uses: ncipollo/release-action@v1
with:
artifacts: "lightarti-rest.xcframework.zip"
bodyFile: "ios/body.md"
token: ${{ secrets.GITHUB_TOKEN }}