Skip to content

Merge pull request #1207 from Licini/workflow #68

Merge pull request #1207 from Licini/workflow

Merge pull request #1207 from Licini/workflow #68

Workflow file for this run

on:
push:
tags:
- 'v*'
name: Create Release
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python: ['3.8', '3.9', '3.10']
steps:
- uses: compas-dev/compas-actions.build@v3
with:
python: ${{ matrix.python }}
invoke_lint: true
check_import: true
publish:
needs: build
runs-on: windows-latest
steps:
- uses: compas-dev/compas-actions.publish@v2
with:
pypi_token: ${{ secrets.PYPI }}
github_token: ${{ secrets.GITHUB_TOKEN }}
build_ghpython_components: true
gh_source: src/compas_ghpython/components
gh_target: src/compas_ghpython/components/ghuser
release_name_prefix: COMPAS