Skip to content

chore: clean up some config files #61

chore: clean up some config files

chore: clean up some config files #61

name: Semantic Release
on:
push:
branches:
- main
jobs:
version:
runs-on: ubuntu-latest
name: Version
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Semantic release
id: release
uses: cycjimmy/semantic-release-action@v4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
- name: Run publish workflow
if: steps.release.outputs.new_release_published == 'true'
run: gh workflow run publish.yml --ref ${{ steps.release.outputs.new_release_git_tag }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}