Files
MapLibreParticleLab/.github/workflows/ios-release.yml
2023-08-14 11:47:56 +02:00

32 lines
705 B
YAML

name: ios-release
on:
workflow_dispatch:
jobs:
build:
runs-on: [self-hosted, macOS, ARM64]
defaults:
run:
working-directory: platform/ios
shell: bash
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
fetch-depth: 0
- name: npm install
run: npm ci --ignore-scripts
- run: chmod +x scripts/deploy-swift-package.sh
- run: bazel/example_config.bzl bazel/config.bzl
- name: Build, package, and upload iOS release
run: scripts/deploy-swift-package.sh
env:
DIST_GITHUB_TOKEN: ${{ secrets.DIST_GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}