refactor: 💡 integrate dotlottie-fms crate as a local module in dotlottie-rs #156
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
pull_request: | |
types: [closed] | |
branches: [main] | |
jobs: | |
build-artifacts: | |
if: github.head_ref == 'release' && github.event.pull_request.merged == true | |
runs-on: macos-12 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: Homebrew/actions/setup-homebrew@master | |
- uses: maxim-lobanov/setup-xcode@v1 | |
with: | |
xcode-version: "13.3.1" | |
- uses: ningenMe/[email protected] | |
- name: Install Make | |
run: brew install make | |
- name: Build Setup | |
run: make mac-setup | |
- name: Build Artifacts | |
env: | |
APPLE_XCODE_APP_NAME: Xcode_13.3.1.app | |
APPLE_MACOSX_SDK: MacOSX12.3 | |
run: make all | |
- name: Upload Artifact | |
uses: actions/[email protected] | |
with: | |
name: dotlottie-player.android.tar.gz | |
path: release/android/dotlottie-player.android.tar.gz | |
if-no-files-found: error | |
- name: Upload Artifact | |
uses: actions/[email protected] | |
with: | |
name: dotlottie-player.darwin.tar.gz | |
path: release/apple/dotlottie-player.darwin.tar.gz | |
if-no-files-found: error | |
- name: Upload Artifact | |
uses: actions/[email protected] | |
with: | |
name: dotlottie-player.wasm.tar.gz | |
path: release/wasm/dotlottie-player.wasm.tar.gz | |
if-no-files-found: error | |
release: | |
needs: [build-artifacts] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/[email protected] | |
with: | |
path: release | |
merge-multiple: true | |
- name: Install Knope | |
uses: knope-dev/[email protected] | |
with: | |
version: 0.13.0 | |
- run: knope release --verbose | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |