From fab95c33b541f72c631b0d3cbb3fa4c16e51e3c6 Mon Sep 17 00:00:00 2001 From: Mike Hunhoff Date: Fri, 26 Jan 2024 10:21:07 -0700 Subject: [PATCH] update test.yml --- .github/workflows/tests.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 29e6c58..e744ccf 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -45,10 +45,12 @@ jobs: wget ${{ matrix.ghidra-release-url }} -O ./tmp/ghidra.zip unzip ./tmp/ghidra.zip -d ./tmp/ghidra mv ./tmp/ghidra/$(ls ./tmp/ghidra) ./tmp/ghidra/ghidra_PUBLIC - ls ./tmp/ghidra - name: Download Ghidra Windows if : ${{ matrix.os == 'windows-2019' }} shell: pwsh run: | Invoke-WebRequest -URI "${{ matrix.ghidra-release-url }}" -OutFile "./tmp/ghidra.zip" - \ No newline at end of file + mkdir ./tmp/ghidra + tar -xf .\tmp\ghidra.zip -C .\tmp\ghidra + Rename-Item -Path "./tmp/ghidra/$((Get-ChildItem -Path "./tmp/ghidra").BaseName)" -NewName "ghidra_PUBLIC" + (Get-ChildItem -Path "./tmp/ghidra").BaseName \ No newline at end of file