Skip to content

Commit

Permalink
Add workflow, thanks Ghidra-GameCube-Loader
Browse files Browse the repository at this point in the history
  • Loading branch information
Maschell committed Jul 26, 2023
1 parent bbd0cf8 commit 3c8e333
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 3c8e333

Please sign in to comment.