File tree Expand file tree Collapse file tree 1 file changed +9
-17
lines changed
Expand file tree Collapse file tree 1 file changed +9
-17
lines changed Original file line number Diff line number Diff line change 1- name : Build
1+ name : Run Gradle on PRs
22on :
33 pull_request :
44 push :
5- branches :
6- - main
5+ workflow_dispatch :
76jobs :
87 gradle :
98 runs-on : ubuntu-latest
109 steps :
11- - uses : actions/checkout@v3
12- - uses : actions/setup-java@v3
10+ - uses : actions/checkout@v6
11+ - uses : actions/setup-java@v5
1312 with :
1413 distribution : ' temurin'
15- java-version : ' 17'
16- - name : Install Ghidra
17- run : |
18- curl -L "$GHIDRA_URL" -o ghidra.zip
19- mkdir ~/ghidra
20- unzip ghidra.zip -d ~/ghidra
21- rm ghidra.zip
22- env :
23- GHIDRA_URL : https://github.com/NationalSecurityAgency/ghidra/releases/download/Ghidra_11.1_build/ghidra_11.1_PUBLIC_20240607.zip
14+ java-version : ' 21'
15+ -
uses :
antoniovazquezblanco/[email protected] 16+ with :
17+ version : ' 12.0'
2418 - name : Execute Gradle build
25- run : ./gradlew
26- env :
27- GHIDRA_INSTALL_DIR : /home/runner/ghidra/ghidra_11.1_PUBLIC/
19+ run : ./gradlew -PGHIDRA_INSTALL_DIR=${{ env.GHIDRA_INSTALL_DIR }}
2820 - name : Release
2921 uses : softprops/action-gh-release@v1
3022 if : startsWith(github.ref, 'refs/tags/')
You can’t perform that action at this time.
0 commit comments