Skip to content

Merge pull request #1312 from IQTLabs/renovate/go-1.x #1138

Merge pull request #1312 from IQTLabs/renovate/go-1.x

Merge pull request #1312 from IQTLabs/renovate/go-1.x #1138

Workflow file for this run

name: release
on:
push:
branches: main
tags: 'v*'
jobs:
release:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install Poetry
uses: snok/install-poetry@v1
with:
virtualenvs-create: false
virtualenvs-in-project: false
version: 1.4.2
- name: poetry install
run: |
poetry build && poetry install
- name: Build package
id: build_and_publish_packages
run: |
poetry publish -u ${{ secrets.PYPI_USERNAME }} -p ${{ secrets.PYPI_TOKEN }}
if: github.repository == 'iqtlabs/dovesnap' && github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')