-
Notifications
You must be signed in to change notification settings - Fork 38
31 lines (31 loc) · 867 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
name: Run Gradle on PRs
on:
pull_request:
push:
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:
GHIDRA_URL: https://github.com/NationalSecurityAgency/ghidra/releases/download/Ghidra_11.1_build/ghidra_11.1_PUBLIC_20240607.zip
- name: Execute Gradle build
run: ./gradlew
env:
GHIDRA_INSTALL_DIR: /home/runner/ghidra/ghidra_11.1_PUBLIC/
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
./dist/GameCubeLoader-*.zip