From 42b46e2032aa74d66a847c09ffa7a6990993a93f Mon Sep 17 00:00:00 2001 From: atomiczsec <75549184+atomiczsec@users.noreply.github.com> Date: Tue, 18 Nov 2025 09:30:06 -0500 Subject: [PATCH] Update workflow to publish latest release --- .github/workflows/build.yml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9bc2606..1a0210b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -44,7 +44,23 @@ jobs: name: extension-jar path: build/libs/*.jar retention-days: 30 - + + - name: Update latest release with build + if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master') + uses: ncipollo/release-action@v1 + with: + tag: latest + name: Latest build + artifacts: build/libs/*.jar + allowUpdates: true + replacesArtifacts: true + body: | + ## Latest Web Cache Deception Scanner build + + Built automatically from `${{ github.ref_name }}` at `${{ github.sha }}`. + + Download the attached `web-cache-deception-scanner-all.jar` to install the most recent extension in Burp Suite. + - name: Create Release if: startsWith(github.ref, 'refs/tags/v') uses: softprops/action-gh-release@v1