diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 54d126f..4e83803 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,4 +1,4 @@ -name: Publish release artifacts +name: Publish releases on: push: diff --git a/.github/workflows/unstable.yml b/.github/workflows/unstable.yml new file mode 100644 index 0000000..2d61860 --- /dev/null +++ b/.github/workflows/unstable.yml @@ -0,0 +1,38 @@ +name: Publish unstable builds + +on: + push: + branches: + - main + +jobs: + build_and_publish: + runs-on: ubuntu-latest + strategy: + matrix: + ghidra: ["10.2.2"] + steps: + - uses: actions/checkout@v1 + - uses: actions/setup-java@v1 + with: + java-version: "17" + java-package: jdk + architecture: x64 + - uses: er28-0652/setup-ghidra@master + with: + version: ${{ matrix.ghidra }} + - uses: eskatos/gradle-command-action@v1 + with: + gradle-version: 7.6 + arguments: test -PGHIDRA_INSTALL_DIR=${{ env.GHIDRA_INSTALL_DIR }} + - uses: eskatos/gradle-command-action@v1 + with: + gradle-version: 7.6 + arguments: buildExtension -PGHIDRA_INSTALL_DIR=${{ env.GHIDRA_INSTALL_DIR }} + - uses: svenstaro/upload-release-action@v1-release + with: + repo_token: ${{ secrets.GITHUB_TOKEN }} + file: dist/*ghidra-emotionengine-reloaded.zip + tag: "unstable" + overwrite: true + file_glob: true diff --git a/README.md b/README.md index eef07da..5060bd4 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ This extension is based on the original [ghidra-emotionengine](https://github.co ## Installation -Precompiled packages are available on the [releases](https://github.com/chaoticgd/ghidra-emotionengine-reloaded/releases) page. To install the package, follow the instructions in the [Ghidra documentation](https://ghidra-sre.org/InstallationGuide.html#Extensions). +Release builds are available on the [releases](https://github.com/chaoticgd/ghidra-emotionengine-reloaded/releases) page. Unstable builds, generated whenever there is a push to the main branch, are available [here](https://github.com/chaoticgd/ghidra-emotionengine-reloaded/releases/tag/unstable). To install the package, follow the instructions in the [Ghidra documentation](https://ghidra-sre.org/InstallationGuide.html#Extensions). ## Building