Open sudermanjr opened 3 years ago
Here, I've put together a workflow for running cybertron on my own project:
https://github.com/DestinyWeaves/theme/blob/main/.github/workflows/cybertron.yml
name: Compile JCINK Theme using Cybertron
on:
push:
branches: ["main"]
workflow_dispatch:
# Allows you to run this workflow manually from the Actions tab
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Cybertron
uses: sigoden/install-binary@v1
with:
repo: magratheaguide/cybertron
name: cybertron
# tag: v1.1.0
- name: Build theme XML
run: cybertron build --name "${{ vars.theme_name }}"
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
path: "${{ vars.theme_name }}.xml"
It would be nice to publish a github action that will run cybertron, as well as release a new version of a theme xml into a github release.