diff --git a/.github/workflows/conda-pack-build.yml b/.github/workflows/conda-pack-build.yml index 0c119759..7e278a9b 100644 --- a/.github/workflows/conda-pack-build.yml +++ b/.github/workflows/conda-pack-build.yml @@ -242,6 +242,10 @@ jobs: echo Adding: verify_installation.py copy scripts\verify_installation.py dist-package\ + rem Copy source code repository (including .git) + echo Adding: Uni-Lab-OS source repository + robocopy . dist-package\Uni-Lab-OS /E /XD dist-package /NFL /NDL /NJH /NJS /NC /NS || if %ERRORLEVEL% LSS 8 exit /b 0 + rem Create README using Python script echo Creating: README.txt python scripts\create_readme.py ${{ matrix.platform }} ${{ github.event.inputs.branch }} dist-package\README.txt @@ -274,6 +278,10 @@ jobs: echo "Adding: verify_installation.py" cp scripts/verify_installation.py dist-package/ + # Copy source code repository (including .git) + echo "Adding: Uni-Lab-OS source repository" + rsync -a --exclude='dist-package' . dist-package/Uni-Lab-OS + # Create README using Python script echo "Creating: README.txt" python scripts/create_readme.py ${{ matrix.platform }} ${{ github.event.inputs.branch }} dist-package/README.txt