mirror of
https://github.com/Maschell/GhidraRPXLoader.git
synced 2024-11-16 13:19:18 +01:00
Add workflow, thanks Ghidra-GameCube-Loader
This commit is contained in:
parent
bbd0cf8ea0
commit
3c8e3333bd
31
.github/workflows/build.yml
vendored
Normal file
31
.github/workflows/build.yml
vendored
Normal file
@ -0,0 +1,31 @@
|
||||
name: Build
|
||||
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_10.3.2_build/ghidra_10.3.2_PUBLIC_20230711.zip
|
||||
- name: Execute Gradle build
|
||||
run: ./gradlew
|
||||
env:
|
||||
GHIDRA_INSTALL_DIR: /home/runner/ghidra/ghidra_10.3.2_PUBLIC/
|
||||
- name: Release
|
||||
uses: softprops/action-gh-release@v1
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
with:
|
||||
files: |
|
||||
./dist/*.zip
|
Loading…
Reference in New Issue
Block a user