From 28b7ef837df430f6216d1c5a2ca15d3e2e74ee6f Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Tue, 13 Jun 2023 00:38:10 +0100 Subject: [PATCH] ci(release): simplify release-please setup (#4) --- .../.release-please-manifest.json | 0 .../release-please-config.json | 0 .github/workflows/release-please.yml | 15 +++++---------- 3 files changed, 5 insertions(+), 10 deletions(-) rename .release-please-manifest.json => .github/.release-please-manifest.json (100%) rename release-please-config.json => .github/release-please-config.json (100%) 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