Fix add-on name. #200
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: Grasshopper Plugin Build | |
on: | |
push: | |
branches: | |
- main | |
tags: | |
- '*' | |
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 }} |