diff --git a/.github/workflows/internal-test-plugin.yml b/.github/workflows/internal-test-plugin.yml index ec75a25..08b5039 100644 --- a/.github/workflows/internal-test-plugin.yml +++ b/.github/workflows/internal-test-plugin.yml @@ -37,9 +37,9 @@ jobs: run: | unzip ${{ steps.assemble-release.outputs.artifact-path }} -d zip-artifact - tree github-artifact - tree zip-artifact + tree github-artifact/* + tree zip-artifact/* - if [[ $(tree github-artifact/*) != $(tree zip-artifact/*) ]]; then false; fi # fail if contents differ - if [[ ! -d github-artifact/GameData ]]; then false; fi # fail if GameData folder isnt present - if [[ -d github-artifact/GameData/plugin-mod/PluginMod.pdb ]]; then false; fi # fail if PDB is still present \ No newline at end of file + if [[ $(tree github-artifact/*) != $(tree zip-artifact/*) ]]; then echo "tree mismatch" && false; fi # fail if contents differ + if [[ ! -d github-artifact/GameData ]]; then echo "GameData not present" && false; fi # fail if GameData folder isnt present + if [[ -f github-artifact/GameData/plugin-mod/PluginMod.pdb ]]; then echo "pdb still present" && false; fi # fail if PDB is still present \ No newline at end of file