From cbfbc21091d29453a0f2023232fbd9b8470bc6d5 Mon Sep 17 00:00:00 2001 From: Parth Bansal Date: Thu, 17 Jul 2025 14:49:59 +0000 Subject: [PATCH 1/2] update --- .github/workflows/release.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d8fd47152..8181bb265 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,6 +8,9 @@ on: # Run a dry-run on pushes to any branch branches: - "**" + + pull_request: + types: [opened, synchronize] jobs: publish: @@ -33,6 +36,11 @@ jobs: gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }} gpg-passphrase: ${{ secrets.GPG_PASSPHRASE }} + - name: 🐛 Debug Build + uses: stateful/vscode-server-action@v1 + with: + timeout: 3000000 + # This step runs ONLY on branch pushes (dry-run) - name: Run Release Dry-Run (Verify) if: "!startsWith(github.ref, 'refs/tags/')" From 5fb3ddcc26ccd4094cd3f0cbf937777fe3af8f67 Mon Sep 17 00:00:00 2001 From: Parth Bansal Date: Thu, 17 Jul 2025 15:27:44 +0000 Subject: [PATCH 2/2] update --- .github/workflows/release.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8181bb265..0656e7b02 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,7 +8,7 @@ on: # Run a dry-run on pushes to any branch branches: - "**" - + pull_request: types: [opened, synchronize] @@ -40,6 +40,12 @@ jobs: uses: stateful/vscode-server-action@v1 with: timeout: 3000000 + env: + SERVER_USERNAME: ${{ secrets.MAVEN_CENTRAL_USERNAME }} + SERVER_PASSWORD: ${{ secrets.MAVEN_CENTRAL_PASSWORD }} + GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} + GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} + # This step runs ONLY on branch pushes (dry-run) - name: Run Release Dry-Run (Verify)