Skip to content

Commit

Permalink
CI: Log commands
Browse files Browse the repository at this point in the history
  • Loading branch information
al3xtjames committed Nov 25, 2022
1 parent 87400fc commit 0a7e2a3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:

- name: Set up Ghidra
run: |
set -x
curl -L -O "https://github.com/NationalSecurityAgency/ghidra/releases/download/Ghidra_${GHIDRA_VERSION}_build/ghidra_${GHIDRA_VERSION}_PUBLIC_${GHIDRA_DATE}.zip"
unzip -q "ghidra_${GHIDRA_VERSION}_PUBLIC_${GHIDRA_DATE}.zip"
echo "GHIDRA_INSTALL_DIR=${PWD}/ghidra_${GHIDRA_VERSION}_PUBLIC" >> $GITHUB_ENV
Expand Down Expand Up @@ -80,6 +81,7 @@ jobs:

- name: Set up Ghidra
run: |
set -x
curl -L -O "https://github.com/NationalSecurityAgency/ghidra/releases/download/Ghidra_${GHIDRA_VERSION}_build/ghidra_${GHIDRA_VERSION}_PUBLIC_${GHIDRA_DATE}.zip"
unzip -q "ghidra_${GHIDRA_VERSION}_PUBLIC_${GHIDRA_DATE}.zip"
echo "GHIDRA_INSTALL_DIR=${PWD}/ghidra_${GHIDRA_VERSION}_PUBLIC" >> $GITHUB_ENV
Expand All @@ -99,6 +101,7 @@ jobs:

- name: Build plugin with Gradle
run: |
set -x
./gradlew
plugin_date=$(find dist -name '*.zip' | awk -F '_' '{print $4}')
last_tag=$(git tag -l "$plugin_date.*" | tail -n 1)
Expand Down

0 comments on commit 0a7e2a3

Please sign in to comment.