v0.12.0 #30
Workflow file for this run
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: Publish | |
on: | |
release: | |
types: [created] | |
workflow_dispatch: | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- id: build-fhaviary | |
uses: hynek/build-and-inspect-python-package@v2 | |
with: | |
upload-name-suffix: -fhaviary | |
- name: Download built fhaviary artifact to dist/ | |
uses: actions/download-artifact@v4 | |
with: | |
name: ${{ steps.build-fhaviary.outputs.artifact-name }} | |
path: dist | |
- id: build-aviary-gsm8k | |
uses: hynek/build-and-inspect-python-package@v2 | |
with: | |
path: packages/gsm8k | |
upload-name-suffix: -gsm8k | |
- name: Download built aviary.gsm8k artifact to dist/ | |
uses: actions/download-artifact@v4 | |
with: | |
name: ${{ steps.build-aviary-gsm8k.outputs.artifact-name }} | |
path: dist | |
- id: build-aviary-hotpotqa | |
uses: hynek/build-and-inspect-python-package@v2 | |
with: | |
path: packages/hotpotqa | |
upload-name-suffix: -hotpotqa | |
- name: Download built aviary.hotpotqa artifact to dist/ | |
uses: actions/download-artifact@v4 | |
with: | |
name: ${{ steps.build-aviary-hotpotqa.outputs.artifact-name }} | |
path: dist | |
- uses: pypa/gh-action-pypi-publish@release/v1 | |
with: | |
password: ${{ secrets.PYPI_API_TOKEN }} |