Skip to content

Merge pull request #187 from ONSdigital/manual_construction_weight_tr… #28

Merge pull request #187 from ONSdigital/manual_construction_weight_tr…

Merge pull request #187 from ONSdigital/manual_construction_weight_tr… #28

Workflow file for this run

name: Release code
on:
push:
tags:
- "*"
jobs:
build:
name: Build and release artifact
runs-on: ubuntu-latest
strategy:
max-parallel: 4
fail-fast: false
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Run image
uses: abatilo/actions-poetry@v3.0.0
with:
poetry-version: 1.5.1
- name: build
run: poetry build
- name: Create GitHub release
uses: softprops/action-gh-release@v2
with:
files: |
dist/*.whl
dist/*.tar.gz
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}