Skip to content

Commit

Permalink
Merge c34541d into 7d7a234
Browse files Browse the repository at this point in the history
  • Loading branch information
spyoungtech committed May 2, 2023
2 parents 7d7a234 + c34541d commit 17590f0
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 3 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/release.yaml
@@ -0,0 +1,37 @@
name: release

on:
push:
tags:
- 'v*.*.*'

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: setup python
uses: actions/setup-python@v2
with:
python-version: 3.11

- name: build
shell: bash
run: |
python -m pip install --upgrade wheel setuptools build
python -m build
- name: Release PyPI
shell: bash
env:
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
run: |
pip install --upgrade twine
twine upload dist/*
- name: Release GitHub
uses: softprops/action-gh-release@v1
with:
files: "dist/*"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3 changes: 0 additions & 3 deletions setup.cfg
Expand Up @@ -48,6 +48,3 @@ cmdclass =
ahk =
py.typed
templates/*.ahk

[bdist_wheel]
universal = True

0 comments on commit 17590f0

Please sign in to comment.