Skip to content

refactor(nvim): Use utils functions for path checks (#293) #79

refactor(nvim): Use utils functions for path checks (#293)

refactor(nvim): Use utils functions for path checks (#293) #79

Workflow file for this run

on:
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+'
jobs:
pypi-publish:
name: upload release to PyPI
runs-on: ubuntu-latest
permissions:
# This permission is needed for private repositories.
contents: write
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
steps:
- uses: actions/checkout@v4
- uses: pdm-project/setup-pdm@v4
- name: Publish package distributions to PyPI
run: pdm publish
- name: Generate Changelog
id: changelog
uses: mikepenz/release-changelog-builder-action@v5
with:
mode: "PR"
configurationJson: |
{
"categories": [
{
"title": "## 💥 Breaking Change",
"labels": ["breaking"]
},
{
"title": "## 🚀 Features",
"labels": ["feature", "enhancement"]
},
{
"title": "## 🐛 Fixes",
"labels": ["fix", "bug"]
},
{
"title": "## 🧪 Tests",
"labels": ["test"]
},
{
"title": "## 📖 Documentation",
"labels": ["documentation"]
}
],
}
token: ${{ secrets.GITHUB_TOKEN }}
- name: Create Release
uses: ncipollo/release-action@v1.16.0
with:
draft: false
makeLatest: true
name: Release ${{ github.ref_name }}
body: ${{ steps.changelog.outputs.changelog }}
token: ${{ secrets.GITHUB_TOKEN }}
artifacts: "./dist/*"