utils/.github/workflows/build_and_release.yml

33 lines
693 B
YAML
Raw Normal View History

2022-07-22 15:24:11 -04:00
name: Release
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v2
2022-07-22 15:28:13 -04:00
- uses: actions/setup-python@v4
with:
python-version: '3.10.x'
2022-07-22 15:24:11 -04:00
- uses: snok/install-poetry@v1
with:
virtualenvs-create: true
- name: Install Dependencies
run: poetry install
- name: build the sucker
run: make build
- uses: ncipollo/release-action@v1
with:
artifacts: "utils"
body: "It's releasin' time"
generateReleaseNotes: true
2022-07-22 21:55:32 -04:00
tag: ${{ env.GITHUB_SHA }}
2022-07-22 21:51:16 -04:00
commit: master
2022-07-22 21:26:42 -04:00
token: ${{ secrets.PAT }}