Skip to content

Rename main.yml to build.yml #1

Rename main.yml to build.yml

Rename main.yml to build.yml #1

Workflow file for this run

name: Build Poetry Package
on:
push:
branches:
- main
tags:
- '*'
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8, 3.9, 3.10]
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python -
echo "::add-path::${{ runner.tool_cache }}/python/bin"
- name: Install dependencies
run: poetry install
- name: Build package
run: poetry build