Skip to content

ci: Use an up to date Ghidra setup action #30

ci: Use an up to date Ghidra setup action

ci: Use an up to date Ghidra setup action #30

Workflow file for this run

name: Publish unstable builds
on:
workflow_dispatch:
pull_request:
push:
jobs:
build_and_publish:
runs-on: ubuntu-latest
strategy:
matrix:
ghidra: ["11.0.3"]
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Setup Java
uses: actions/setup-java@v1
with:
java-version: "17"
java-package: jdk
architecture: x64
- name: Setup Ghidra
uses: antoniovazquezblanco/[email protected]
with:
version: ${{ matrix.ghidra }}
- name: Test
uses: gradle/gradle-build-action@v2
with:
gradle-version: 7.6
arguments: test
- name: Build Extension
uses: gradle/gradle-build-action@v2
with:
gradle-version: 7.6
arguments: buildExtension
- name: Upload variants artifact ELF
uses: actions/upload-artifact@v4
with:
name: ghidra_irx
path: |
dist/*.zip
- name: Release
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main'
uses: svenstaro/upload-release-action@v1-release
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: dist/*.zip
tag: "latest"
overwrite: true
file_glob: true