Skip to content

Commit

Permalink
Update GitHub actions to build release automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
CoreyD97 committed Feb 17, 2022
1 parent 99f6ac7 commit 24f4a74
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 33 deletions.
33 changes: 0 additions & 33 deletions .github/workflows/gradle.yml

This file was deleted.

35 changes: 35 additions & 0 deletions .github/workflows/releases.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
name: releases

on:
push:
tags:
- "v*"

jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@v2.3.4
with:
lfs: true
fetch-depth: 0

- name: Set up Java
uses: actions/setup-java@v2
with:
distribution: adopt
java-version: '8'

# burpsuite_pro.jar is not available, disable tests
- name: Build
run: ./gradlew build -x test

- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
files: |
releases/*.jar
id: "automatic_releases"

0 comments on commit 24f4a74

Please sign in to comment.