diff --git a/.github/workflows/release_please.yaml b/.github/workflows/release_please.yaml index 71d3cd8..06f24ff 100644 --- a/.github/workflows/release_please.yaml +++ b/.github/workflows/release_please.yaml @@ -1,7 +1,10 @@ on: - push: +# push: +# branches: +# - main + pull_request: branches: - - main + - '*' name: Run Release Please jobs: @@ -15,7 +18,7 @@ jobs: with: command: manifest token: ${{secrets.GITHUB_TOKEN}} - default-branch: main + default-branch: add-release-manifest # The logic below handles the github release: - name: Cache Gradle and wrapper @@ -49,6 +52,7 @@ jobs: run: bash ./gradlew :openfeature:assemble - name: Create Release ✅ + if: ${{ steps.release.outputs.releases_created }} id: create_release uses: actions/create-release@v1 env: diff --git a/.release-please-manifest.json b/.release-please-manifest.json new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/.release-please-manifest.json @@ -0,0 +1 @@ +{} diff --git a/release-please-config.json b/release-please-config.json new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/release-please-config.json @@ -0,0 +1 @@ +{}