From 4c56185e180cc7f392c4b265a6eaeede8f251d55 Mon Sep 17 00:00:00 2001 From: Weaver Goldman Date: Wed, 24 Jul 2024 16:56:15 -0400 Subject: [PATCH] Create extra resources folder in github action. --- .github/workflows/build-and-release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build-and-release.yml b/.github/workflows/build-and-release.yml index 86319c9..fd9515d 100644 --- a/.github/workflows/build-and-release.yml +++ b/.github/workflows/build-and-release.yml @@ -43,6 +43,7 @@ jobs: - name: Copy Python Server Executable Mac or Linux if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest' run: | + mkdir -p ./extra-resources/server/dist/ cp -r ./python/dist/* ./extra-resources/server/dist/ cp ./python/Dockerfile-prod ./extra-resources/server/Dockerfile cp ./python/compose.yml ./extra-resources/server/compose.yml @@ -50,6 +51,7 @@ jobs: - name: Copy Python Server Executable Windows if: matrix.os == 'windows-latest' run: | + New-Item -Path ./extra-resources/server/dist/ -ItemType Directory -Force Copy-Item -Path ./python/dist/* -Destination ./extra-resources/server/dist/ -Recurse Copy-Item -Path ./python/Dockerfile-prod -Destination ./extra-resources/server/Dockerfile Copy-Item -Path ./python/compose.yml -Destination ./extra-resources/server/compose.yml