Skip to content

Commit

Permalink
Enable automatic unstable CI builds again
Browse files Browse the repository at this point in the history
This time they'll only happen whenever there's a push to the main
branch instead of every single day.
  • Loading branch information
chaoticgd committed Jan 31, 2023
1 parent b5c2ead commit db57bea
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish release artifacts
name: Publish releases

on:
push:
Expand Down
38 changes: 38 additions & 0 deletions .github/workflows/unstable.yml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit db57bea

Please sign in to comment.