-
Notifications
You must be signed in to change notification settings - Fork 3
39 lines (32 loc) · 1019 Bytes
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'adopt'
- name: fetch Ghidra
run: |
wget -O ${{ runner.temp }}/ghidra.zip https://github.com/NationalSecurityAgency/ghidra/releases/download/Ghidra_11.2_build/ghidra_11.2_PUBLIC_20240926.zip
unzip -d ${{ runner.temp }} ${{ runner.temp }}/ghidra.zip
- name: grant execute permission for gradlew
run: chmod +x gradlew
- name: build with Gradle
run: ./gradlew buildExtension
env:
GHIDRA_INSTALL_DIR: ${{ runner.temp }}/ghidra_11.2_PUBLIC
- name: exporting artefacts
uses: actions/upload-artifact@v4
with:
name: fugue-ghidra-plugin
path: |
${{ github.workspace }}/dist/*_fugue-ghidra.zip