Skip to content

Commit

Permalink
Create extra resources folder in github action.
Browse files Browse the repository at this point in the history
  • Loading branch information
We-Gold committed Jul 24, 2024
1 parent d276a1a commit 4c56185
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,15 @@ 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
- 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
Expand Down

0 comments on commit 4c56185

Please sign in to comment.