mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-07-30 07:18:37 -09:00
34 lines
846 B
YAML
34 lines
846 B
YAML
name: Dependency Submission
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
|
|
permissions:
|
|
contents: write
|
|
|
|
jobs:
|
|
dependency-submission:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v6
|
|
|
|
- name: Read Ghidra JDK Version
|
|
run: echo "JDK_VER=$(awk -F'=' '$1=="application.java.min" {print $2}' Ghidra/application.properties)" >> $GITHUB_ENV
|
|
|
|
- name: Setup JDK
|
|
uses: actions/setup-java@v5
|
|
with:
|
|
distribution: 'temurin'
|
|
java-version: '${{ env.JDK_VER }}'
|
|
|
|
- name: Fetch Dependencies
|
|
run: ./gradlew -I gradle/support/fetchDependencies.gradle -DhideDownloadProgress -DnoEclipse
|
|
|
|
- name: Generate and submit dependency graph
|
|
uses: gradle/actions/dependency-submission@v6
|
|
with:
|
|
gradle-version: '9.5.1'
|