Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish Github Action #11

Open
sudermanjr opened this issue Aug 26, 2021 · 1 comment
Open

Publish Github Action #11

sudermanjr opened this issue Aug 26, 2021 · 1 comment
Labels
feature New feature or request

Comments

@sudermanjr
Copy link

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.

@sudermanjr sudermanjr added the enhancement Improvements, refactors, or updated iterations label Aug 26, 2021
sudermanjr pushed a commit that referenced this issue Aug 26, 2021
@thewildmage thewildmage added feature New feature or request and removed enhancement Improvements, refactors, or updated iterations labels Nov 13, 2021
@thewildmage thewildmage changed the title [feature] Publish Github Action Publish Github Action Nov 13, 2021
@AJMansfield
Copy link

AJMansfield commented Sep 4, 2024

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"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants