Skip to content

fix(ci): try to create release using softprops/action #24

fix(ci): try to create release using softprops/action

fix(ci): try to create release using softprops/action #24

name: Semantic release
on:
push:
branches:
- master
permissions:
contents: read
jobs:
semantic-release:
runs-on: ubuntu-latest
permissions:
contents: write
issues: write
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Semantic Release
id: create_release
uses: cycjimmy/semantic-release-action@v4
with:
semantic_version: 24.0.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
outputs:
release_created: ${{ steps.create_release.outputs.new_release_published }}
new_tag: ${{ steps.create_release.outputs.new_release_git_tag }}
release_notes: ${{ steps.create_release.outputs.new_release_notes }}
github-release:
needs: semantic-release
uses: softprops/[email protected]

Check failure on line 39 in .github/workflows/semantic-release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/semantic-release.yml

Invalid workflow file

invalid value workflow reference: references to workflows must be rooted in '.github/workflows'
with:
tag_name: ${{ needs.semantic-release.outputs.new_tag }}
body: ${{ needs.semantic-release.outputs.release_notes }}
permissions:
contents: write
publish-to-pypi:
needs: semantic-release
if: needs.semantic-release.outputs.release_created == 'true'
permissions:
contents: write
pages: write
id-token: write
uses: ./.github/workflows/deploy.yml