GhidraRPXLoader/.github/workflows/build.yml

33 lines
870 B
YAML
Raw Permalink Normal View History

name: Build
on:
pull_request:
push:
2023-10-31 20:28:10 +01:00
branches:
- main
jobs:
gradle:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
- name: Install Ghidra
run: |
curl -L "$GHIDRA_URL" -o ghidra.zip
mkdir ~/ghidra
unzip ghidra.zip -d ~/ghidra
rm ghidra.zip
env:
2023-10-31 20:28:10 +01:00
GHIDRA_URL: https://github.com/NationalSecurityAgency/ghidra/releases/download/Ghidra_10.4_build/ghidra_10.4_PUBLIC_20230928.zip
- name: Execute Gradle build
run: ./gradlew
env:
2023-10-31 20:28:10 +01:00
GHIDRA_INSTALL_DIR: /home/runner/ghidra/ghidra_10.4_PUBLIC/
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
./dist/*.zip