Skip to content

Add kitbot and scaffolding for custom robots #44

Add kitbot and scaffolding for custom robots

Add kitbot and scaffolding for custom robots #44

Workflow file for this run

name: Build GearGlimpseRevolution
on:
push:
branches:
- main
- "release/*"
jobs:
build:
permissions:
packages: write
contents: write
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Theos
uses: nab138/theos-action@main
with:
cache-dir-theos: ${{ github.workspace }}/theos
cache-dir-sdks: ${{ github.workspace }}/theos/sdks
- name: Download 3044 Robot Model
uses: robinraju/[email protected]
with:
tarBall: false
zipBall: false
out-file-path: "Resources"
tag: "assets-v2"
fileName: "R0xstar.usdz"
- name: Download KitBot Robot Model
uses: robinraju/[email protected]
with:
tarBall: false
zipBall: false
out-file-path: "Resources"
tag: "assets-v2"
fileName: "2024KitBot.usdz"
- name: Build
run: |
rm -f packages/*
make package FINALPACKAGE=1
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: GearGlimpseRevolution
path: packages/*.ipa
- name: Set Release Version
id: version
run: echo "::set-output name=version::${GITHUB_REF#refs/heads/release/}"
- name: Create Release
if: startsWith(github.ref, 'refs/heads/release/')
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "${{ steps.version.outputs.version }}"
prerelease: false
draft: true
title: "GearGlimpseRevolution ${{ steps.version.outputs.version }}"
files: |
packages/*.ipa