Skip to content

Merge pull request #7 from antoniovazquezblanco/dependabot/github_act… #55

Merge pull request #7 from antoniovazquezblanco/dependabot/github_act…

Merge pull request #7 from antoniovazquezblanco/dependabot/github_act… #55

Workflow file for this run

name: Build
on: [push, pull_request, workflow_dispatch]
permissions:
contents: write
jobs:
build_for_ghidra:
runs-on: ubuntu-latest
strategy:
matrix:
ghidra:
- "10.4"
- "10.3.3"
- "10.3.2"
- "10.3.1"
- "10.3"
- "10.2.3"
- "10.2.2"
- "10.2.1"
- "10.2"
- "10.1.5"
- "10.1.4"
- "10.1.3"
- "10.1.2"
- "10.1.1"
- "10.1"
- "10.0.4"
- "10.0.3"
- "10.0.2"
- "10.0.1"
- "10.0"
steps:
- name: Clone Repository
uses: actions/checkout@v4
- name: Install Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
- name: Install Ghidra ${{ matrix.version }}
uses: antoniovazquezblanco/[email protected]
with:
version: ${{ matrix.ghidra }}
- name: Build the extension for Ghidra ${{ matrix.version }}
uses: gradle/[email protected]
with:
gradle-version: 7.3
arguments: -PGHIDRA_INSTALL_DIR=${{ env.GHIDRA_INSTALL_DIR }}
- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
if: github.ref == 'refs/heads/main' || contains(github.ref, 'refs/tags/v')
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file_glob: true
file: dist/*GhidraFindcrypt.zip
prerelease: ${{ github.ref == 'refs/heads/main' }}
overwrite: true