Skip to content

Move Elements #32 (#83) #189

Move Elements #32 (#83)

Move Elements #32 (#83) #189

name: Grasshopper Plugin Build
on:
push:
branches:
- main
tags:
- main
jobs:
build:
runs-on: [ windows-2019 ]
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- name: Install IronPython
run: choco install ironpython --version=2.7.12
- name: Build Grasshopper Plugin
run: ipy grasshopper-plugin/build_module.py
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: Tapir Grasshopper Plugin
path: grasshopper-plugin/bin/tapir_gh.ghpy
- name: Create Release
if: startsWith(github.ref, 'refs/tags/')
uses: ncipollo/release-action@v1
with:
artifacts: grasshopper-plugin/bin/tapir_gh.ghpy
draft: true
allowUpdates: true
token: ${{ secrets.GITHUB_TOKEN }}