Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add workflow for package publishing and update version to 0.1.0rc1 #7

Merged
merged 1 commit into from
Nov 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Publish Package

on:
release:
types: [created]

permissions: {}

jobs:
publish:
if: "!cancelled()"
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest"]
python-version: ["3.10"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up uv
uses: astral-sh/setup-uv@v3
- name: Set up Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}
- name: Set up uv
uses: astral-sh/setup-uv@v3
- name: Build the package
run: uv build
- name: Publish the package
env:
UV_PUBLISH_TOKEN: ${{ secrets.UV_PUBLISH_TOKEN }}
run: uv publish --token $UV_PUBLISH_TOKEN
16 changes: 15 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,27 @@
[project]
name = "mosaico"
version = "0.1.0-rc0"
version = "0.1.0rc1"
description = "Open-source video generation framework"
authors = [
{ name = "Leonardo Diegues", email = "leonardo.diegues@grupofolha.com.br" },
{ name = "Lucas Golino", email = "lucas@golinux.space" },
]
readme = "README.md"
requires-python = ">=3.10,<3.13"
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: GNU General Public License (GPL)",
"Operating System :: OS Independent",
"Topic :: Multimedia",
"Topic :: Multimedia :: Video :: Non-Linear Editor",
"Topic :: Multimedia :: Sound/Audio :: Speech",
"Topic :: Multimedia :: Sound/Audio :: Sound Synthesis",
"Topic :: Text Processing :: Fonts",

]
dependencies = [
"pydantic",
"pyyaml",
Expand Down
Loading