Skip to content

Commit

Permalink
Add release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sevein committed Dec 16, 2024
1 parent 7d873cb commit 62b5dd7
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Release

on:
push:
branches:
- dev/add-release-workflow
tags:
- "v*"
workflow_dispatch:

permissions:
contents: read
id-token: write
packages: write

jobs:
release:
runs-on: ubuntu-24.04
environment: release
steps:
- name: Check out source code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.9"
- name: Build package
run: |
python3 -m pip install --upgrade build twine setuptools-golang
python3 -m build
setuptools-golang-build-manylinux-wheels --golang=1.23.4 --pythons=cp39-cp39
python3 -m twine check --strict dist/*

0 comments on commit 62b5dd7

Please sign in to comment.