Skip to content

Commit

Permalink
Updated GHA to fix python release
Browse files Browse the repository at this point in the history
  • Loading branch information
beveradb committed Jan 26, 2025
1 parent e813fca commit 984cea5
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy to GitHub Pages
name: Deploy lyrics-analyzer to GitHub Pages

on:
push:
Expand Down
19 changes: 19 additions & 0 deletions .github/workflows/publish-transcriber.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Publish lyrics-transcriber to PyPI

on: [push, workflow_dispatch]

jobs:
# Auto-publish when version is increased
publish-job:
# Only publish on `main` branch
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
permissions: # Don't forget permissions
contents: write

steps:
- uses: etils-actions/pypi-auto-publish@v1
with:
pypi-token: ${{ secrets.PYPI_API_TOKEN }}
gh-token: ${{ secrets.GITHUB_TOKEN }}
parse-changelog: false
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "lyrics-transcriber"
version = "0.32.0"
version = "0.32.1"
description = "Automatically create synchronised lyrics files in ASS and MidiCo LRC formats with word-level timestamps, using Whisper and lyrics from Genius and Spotify"
authors = ["Andrew Beveridge <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit 984cea5

Please sign in to comment.