Skip to content

extract array from casadi evalf if needed #245

extract array from casadi evalf if needed

extract array from casadi evalf if needed #245

Workflow file for this run

name: Build and publish dist artifacts
on:
push:
branches: [ main ]
tags:
- 'v*'
pull_request:
workflow_dispatch:
jobs:
build:
name: Build dist
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Build sdist and wheel
run: pipx run build
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: dist
path: dist/
publish:
name: Publish to PyPI
needs: [build]
runs-on: ubuntu-latest
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
environment:
name: pypi
url: https://pypi.org/p/condor
permissions:
id-token: write
steps:
- name: Download artifacts
uses: actions/download-artifact@v4
with:
name: dist
path: dist/
- name: List files
run: ls -R
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@v1.13.0