fix: max attribute length with longer regex custom html tags (#884) #142
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will upload a Python Package using Twine when a release is created | |
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries | |
# This workflow uses actions that are not certified by GitHub. | |
# They are provided by a third-party and are governed by | |
# separate terms of service, privacy policy, and support | |
# documentation. | |
name: Release | |
on: | |
push: | |
branches: [master] | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
persist-credentials: false | |
- name: Setup Poetry | |
uses: snok/install-poetry@v1 | |
- name: ⎔ Setup node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
- name: 📥 Download deps | |
uses: bahmutov/npm-install@v1 | |
with: | |
useLockFile: false | |
- name: Semantic Release | |
uses: cycjimmy/semantic-release-action@v3 | |
id: semantic | |
with: | |
semantic_version: 18 | |
extra_plugins: | | |
@semantic-release/changelog@6 | |
@semantic-release/exec | |
@semantic-release/git@10 | |
env: | |
GITHUB_TOKEN: ${{ secrets.RELEASE_PAT }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
- name: Build and publish package | |
if: steps.semantic.outputs.new_release_published == 'true' | |
uses: JRubics/[email protected] | |
with: | |
pypi_token: ${{ secrets.PYPI_API_TOKEN }} |