Skip to content
This repository has been archived by the owner on May 23, 2023. It is now read-only.

Publish nightly build artifacts #810

Publish nightly build artifacts

Publish nightly build artifacts #810

Workflow file for this run

name: Publish nightly build artifacts
on:
schedule:
- cron: '0 0 * * *'
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.zip
tag: "latest"
overwrite: true
file_glob: true