Skip to content

Merge pull request #77 from veselosky/0.2.2 #17

Merge pull request #77 from veselosky/0.2.2

Merge pull request #77 from veselosky/0.2.2 #17

Workflow file for this run

name: Package a release of genericsite
on:
push:
tags:
- "release-*"
workflow_dispatch:
jobs:
run_tests:
uses: ./.github/workflows/test.yml
create_release:
runs-on: ubuntu-22.04
needs: run_tests
env:
GH_TOKEN: ${{ github.token }}
steps:
- name: Check out the code
uses: actions/checkout@v3
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: "3.11"
cache: pip
- name: Install dependencies
run: |
python -m pip install --upgrade build pip setuptools wheel
- name: Build the release packages
run: python -m build
- name: Create a Github Release
run: gh release create ${{ github.ref }} --generate-notes dist/*