From 78344958ca32c77235d9f89a293da3d6f17853b0 Mon Sep 17 00:00:00 2001 From: Artem Zatsarynnyi Date: Fri, 5 Jun 2026 16:56:03 +0200 Subject: [PATCH 1/2] Add download link on PRs for easier testing Signed-off-by: Artem Zatsarynnyi --- .github/workflows/build.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b3b7ff5c..905bc9cf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -89,6 +89,13 @@ jobs: name: ${{ steps.artifact.outputs.filename }} path: ./build/distributions/content/*/* + # Store plugin zip for easy download + - name: Upload plugin zip + uses: actions/upload-artifact@v7 + with: + name: ${{ steps.artifact.outputs.filename }}-zip + path: ./build/distributions/*.zip + # Run tests and upload a code coverage report test: name: Test @@ -216,6 +223,23 @@ jobs: name: pluginVerifier-result path: ${{ github.workspace }}/build/reports/pluginVerifier + # Post a comment on PRs with a link to download the plugin + prComment: + name: PR comment + if: github.event_name == 'pull_request' + needs: [ build, test, inspectCode, verify ] + runs-on: ubuntu-latest + permissions: + pull-requests: write + steps: + - name: Post artifact link + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + gh pr comment ${{ github.event.pull_request.number }} \ + --repo ${{ github.repository }} \ + --body "✅ Build successful! [Download plugin zip](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}) from the Artifacts section." + # Prepare a draft release for GitHub Releases page for the manual verification # If accepted and published, release workflow would be triggered releaseDraft: From 7a8ab4c1164b09dc8a6c86792409551fdebf49cd Mon Sep 17 00:00:00 2001 From: Artem Zatsarynnyi Date: Fri, 5 Jun 2026 17:34:03 +0200 Subject: [PATCH 2/2] Add download link on PRs for easier testing Signed-off-by: Artem Zatsarynnyi --- .github/workflows/build.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 905bc9cf..11246b07 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -89,13 +89,6 @@ jobs: name: ${{ steps.artifact.outputs.filename }} path: ./build/distributions/content/*/* - # Store plugin zip for easy download - - name: Upload plugin zip - uses: actions/upload-artifact@v7 - with: - name: ${{ steps.artifact.outputs.filename }}-zip - path: ./build/distributions/*.zip - # Run tests and upload a code coverage report test: name: Test @@ -238,7 +231,7 @@ jobs: run: | gh pr comment ${{ github.event.pull_request.number }} \ --repo ${{ github.repository }} \ - --body "✅ Build successful! [Download plugin zip](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}) from the Artifacts section." + --body "✅ Build successful! For testing, [download plugin zip](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}) from the Artifacts section." # Prepare a draft release for GitHub Releases page for the manual verification # If accepted and published, release workflow would be triggered