Skip to content

Commit 0716482

Browse files
authored
add release for jar
Add latest release update for latest build
2 parents 9c3c541 + 42b46e2 commit 0716482

1 file changed

Lines changed: 17 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,23 @@ jobs:
4444
name: extension-jar
4545
path: build/libs/*.jar
4646
retention-days: 30
47-
47+
48+
- name: Update latest release with build
49+
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master')
50+
uses: ncipollo/release-action@v1
51+
with:
52+
tag: latest
53+
name: Latest build
54+
artifacts: build/libs/*.jar
55+
allowUpdates: true
56+
replacesArtifacts: true
57+
body: |
58+
## Latest Web Cache Deception Scanner build
59+
60+
Built automatically from `${{ github.ref_name }}` at `${{ github.sha }}`.
61+
62+
Download the attached `web-cache-deception-scanner-all.jar` to install the most recent extension in Burp Suite.
63+
4864
- name: Create Release
4965
if: startsWith(github.ref, 'refs/tags/v')
5066
uses: softprops/action-gh-release@v1

0 commit comments

Comments
 (0)