File tree Expand file tree Collapse file tree 1 file changed +62
-0
lines changed
Expand file tree Collapse file tree 1 file changed +62
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build
2+ on : [ push, pull_request, workflow_dispatch ]
3+ permissions :
4+ contents : write
5+
6+ jobs :
7+ build :
8+ runs-on : ubuntu-latest
9+
10+ strategy :
11+ matrix :
12+ ghidra :
13+ - " 11.2"
14+ - " 11.2.1"
15+ - " 11.3"
16+ - " 11.3.1"
17+ - " 11.3.2"
18+ - " 11.4"
19+
20+ steps :
21+ - name : Clone Repository
22+ uses : actions/checkout@v4
23+
24+ - name : Install Java
25+ uses : actions/setup-java@v4
26+ with :
27+ distribution : ' temurin'
28+ java-version : ' 21'
29+
30+ - name : Install Gradle
31+ uses : gradle/actions/setup-gradle@v4
32+
33+ - name : Install Ghidra ${{ matrix.ghidra }}
34+ uses : antoniovazquezblanco/setup-ghidra@v2.0.12
35+ with :
36+ auth_token : ${{ secrets.GITHUB_TOKEN }}
37+ version : ${{ matrix.ghidra }}
38+
39+ - name : Build
40+ run : gradle buildExtension
41+
42+ - name : Upload artifacts
43+ uses : actions/upload-artifact@v4
44+ with :
45+ name : Retro_Ghidra_${{ matrix.ghidra }}
46+ path : dist/*.zip
47+
48+ release :
49+ runs-on : ubuntu-latest
50+ needs : build
51+ if : contains(github.ref, 'refs/tags/v')
52+ permissions :
53+ contents : write
54+
55+ steps :
56+ - name : Download binaries
57+ uses : actions/download-artifact@v4
58+
59+ - name : Release
60+ uses : softprops/action-gh-release@v2
61+ with :
62+ files : Retro_Ghidra_*/*.zip
You can’t perform that action at this time.
0 commit comments