diff --git a/.release-please-manifest.json b/.github/.release-please-manifest.json similarity index 100% rename from .release-please-manifest.json rename to .github/.release-please-manifest.json diff --git a/release-please-config.json b/.github/release-please-config.json similarity index 100% rename from release-please-config.json rename to .github/release-please-config.json diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 8b5ff11..85a6b16 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -1,16 +1,11 @@ --- -on: push +on: + push: + branches: + - main jobs: release-please: runs-on: ubuntu-latest - if: github.ref == 'refs/heads/main' - outputs: - release_created: ${{ steps.release-please.outputs.release_created }} - tag_name: ${{ steps.release-please.outputs.tag_name }} # e.g. v1.0.0 - version: ${{ steps.release-please.outputs.version }} # e.g. 1.0.0 steps: - - uses: google-github-actions/release-please-action@v3 - id: release-please - with: - command: manifest + - uses: jimeh/release-please-manifest-action@v1