Skip to content

Update for Ghidra 11 #62

Update for Ghidra 11

Update for Ghidra 11 #62

Workflow file for this run

name: CI
on: [push, pull_request, workflow_dispatch]
jobs:
build_extension:
runs-on: ubuntu-latest
strategy:
matrix:
ghidra: ['11.0']
java: ['17']
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Get short SHA
run: echo "SHORT_SHA=${GITHUB_SHA:0:7}" >> $GITHUB_ENV
- name: Setup Java
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java }}
distribution: temurin
- name: Setup Ghidra
uses: er28-0652/setup-ghidra@master
with:
version: ${{ matrix.ghidra }}
- name: bodge
run: chmod +x gradlew
- name: Build Extension
run: ./gradlew
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
path: dist
retention-days: 7
if-no-files-found: error
push_release:
if: |
github.event_name == 'push' &&
github.repository == 'clienthax/Ps3GhidraScripts'
needs: build_extension
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Download artifacts
uses: actions/download-artifact@v3
- name: Create Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release create 1.0${{ GITHUB.RUN_NUMBER }} artifact/*.zip --target ${{ GITHUB.SHA }} -t 1.0${{ GITHUB.RUN_NUMBER }}