mirror of
https://github.com/iluvcapra/pycmx.git
synced 2025-12-31 08:50:54 +00:00
Updating workflows
Added 3.13 support, publish to Bluesky, Poetry build system
This commit is contained in:
28
.github/workflows/pythonpublish.yml
vendored
28
.github/workflows/pythonpublish.yml
vendored
@@ -3,7 +3,6 @@ name: Upload Python Package
|
||||
on:
|
||||
release:
|
||||
types: [published]
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
@@ -15,9 +14,9 @@ jobs:
|
||||
environment:
|
||||
name: release
|
||||
steps:
|
||||
- uses: actions/checkout@v3.5.2
|
||||
- uses: actions/checkout@v4.2.2
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v4.6.0
|
||||
uses: actions/setup-python@v5.3.0
|
||||
with:
|
||||
python-version: '3.x'
|
||||
- name: Install dependencies
|
||||
@@ -25,16 +24,17 @@ jobs:
|
||||
python -m pip install --upgrade pip
|
||||
pip install build
|
||||
- name: Build package
|
||||
run: python -m build
|
||||
- name: pypi-publish
|
||||
run: python -m build .
|
||||
- name: Publish to Pypi
|
||||
uses: pypa/gh-action-pypi-publish@v1.8.6
|
||||
- name: Report to Mastodon
|
||||
uses: cbrgm/mastodon-github-action@v1.0.1
|
||||
- name: Send Bluesky Post
|
||||
uses: myConsciousness/bluesky-post@v5
|
||||
with:
|
||||
message: |
|
||||
I just released a new version of pycmx, my library for reading CMX EDLs!
|
||||
#sounddesign #filmmaking #python
|
||||
${{ github.server_url }}/${{ github.repository }}
|
||||
env:
|
||||
MASTODON_URL: ${{ secrets.MASTODON_URL }}
|
||||
MASTODON_ACCESS_TOKEN: ${{ secrets.MASTODON_ACCESS_TOKEN }}
|
||||
text: |
|
||||
I've released a new version of pycmx, my module for
|
||||
reading CMX EDLs.
|
||||
link-preview-url: ${{ github.server_url }}/${{ github.repository }}
|
||||
identifier: ${{ secrets.BLUESKY_APP_USER }}
|
||||
password: ${{ secrets.BLUESKY_APP_PASSWORD }}
|
||||
service: bsky.social
|
||||
retry-count: 1
|
||||
|
||||
Reference in New Issue
Block a user