From 1419c413efaa11fbc0c198da17db91de8f4f33e0 Mon Sep 17 00:00:00 2001 From: Anonymous Maarten Date: Sun, 13 Nov 2022 17:58:12 +0100 Subject: [PATCH] Add github workflow to build and upload an artifact --- .github/workflows/build.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..d0792eb --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,28 @@ +name: Build ghidra-lx-loader +on: + pull_request: + push: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-java@v3 + with: + java-version: '17' + distribution: 'zulu' + - name: Setup ghidra + uses: er28-0652/setup-ghidra@master + with: + version: '10.2' + - name: Build Ghidra extension (using gradle) + uses: gradle/gradle-build-action@v2 + with: + gradle-version: 'current' + arguments: 'buildExtension' + - uses: actions/upload-artifact@v3 + with: + name: ghidra-lx-loader + path: | + dist/*.zip