Skip to content

tag update v1.5.0 -> v1.5.1 #44

tag update v1.5.0 -> v1.5.1

tag update v1.5.0 -> v1.5.1 #44

Workflow file for this run

# Basic action for making a release and adding build artifacts.
on:
push:
tags:
- "v*" # Push events to matching v*, i.e. v1.0, v20.15.10
name: Upload Release Asset
jobs:
build:
name: Upload Release Asset
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up python
uses: actions/setup-python@v5
with:
python-version: 3.8
- name: Install Poetry
run: |
python -m pip install --upgrade pip poetry
- name: Build project
id: poetry
run: |
poetry version ${GITHUB_REF_NAME}
poetry build
echo "whl_loc=$(find dist -type f -name *.whl)" >> $GITHUB_OUTPUT
- name: Create and Upload Release Asset to GitHub
uses: ncipollo/release-action@v1
with:
allowUpdates: true
artifacts: "./dist/*"
draft: true
generateReleaseNotes: true
prerelease: true
- name: Build Docs # Need to update install directions to use new release
run: |
poetry install
poetry run make -C docs html
- name: Deploy Docs to gh-pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/_build/html