diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index 2db3f47..fcc040e 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -25,13 +25,14 @@ jobs: name: Release Please needs: check_cargo_fmt runs-on: ubuntu-latest - if: github.repository == 'chawyehsu/hok' && github.ref == 'refs/heads/main' && github.event_name == 'push' && contains(toJSON(github.event.commits.*.message), 'chore(release)') + if: github.repository == 'chawyehsu/hok' && github.ref == 'refs/heads/main' && github.event_name == 'push' steps: - uses: google-github-actions/release-please-action@v3 id: release with: token: ${{ secrets.GITHUB_TOKEN }} release-type: rust + path: crates/hok outputs: release_created: ${{ steps.release.outputs.release_created }} tag_name: ${{ steps.release.outputs.tag_name }}