From 175fd9ef2bc0483a7f123710868af61713107e41 Mon Sep 17 00:00:00 2001 From: Tyler Wilding Date: Sat, 18 Jun 2022 20:56:43 -0400 Subject: [PATCH] release: fix release script, hopefully --- .github/workflows/release.yaml | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index ffb7a27..9db4371 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -63,11 +63,14 @@ jobs: if: matrix.os == 'windows' run: | mv ./opengoal*.zip ./opengoal.zip - tar -xf opengoal.zip + mkdir ./artifact-out + tar -xf opengoal.zip -C ./artifact-out + ls ./artifact-out + ls ./artifact-out/data mkdir -p ./src-tauri/bin/ - cp ./out/*.exe ./src-tauri/bin || true + cp ./artifact-out/*.exe ./src-tauri/bin || true cp ./third-party/glew_2.1.0/windows/glewinfo.exe ./src-tauri/bin - cp -r ./out/data ./src-tauri + cp -r ./artifact-out/data ./src-tauri ls ./src-tauri ls ./src-tauri/bin ls ./src-tauri/data @@ -76,11 +79,14 @@ jobs: if: matrix.os == 'linux' run: | mv ./opengoal*.tar.gz ./opengoal.tar.gz - tar -xf opengoal.tar.gz + mkdir ./artifact-out + tar -xf opengoal.tar.gz -C ./artifact-out + ls ./artifact-out + ls ./artifact-out/data mkdir -p ./src-tauri/bin/ - cp ./out/* ./src-tauri/bin || true + cp ./artifact-out/* ./src-tauri/bin || true cp ./third-party/glew_2.1.0/linux/glewinfo ./src-tauri/bin - cp -r ./out/data ./src-tauri + cp -r ./artifact-out/data ./src-tauri ls ./src-tauri ls ./src-tauri/bin ls ./src-tauri/data