From 35b5a90409b03117d411ac1a06796810d8da6056 Mon Sep 17 00:00:00 2001 From: Athanasius Date: Wed, 11 Jan 2023 12:27:17 +0000 Subject: [PATCH] windows-build: Custom zip: Include top-level directory, and exclude more --- .github/workflows/windows-build.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/windows-build.yml b/.github/workflows/windows-build.yml index 127fa243..6ed99fd1 100644 --- a/.github/workflows/windows-build.yml +++ b/.github/workflows/windows-build.yml @@ -57,8 +57,10 @@ jobs: uses: thedoctor0/zip-release@main with: type: 'zip' + directory: '..' + path: 'EDMarketConnector' filename: 'EDMarketConnector-release-${{ needs.variables.outputs.sem_ver }}.zip' - exclusions: 'EDMarketConnector-release-*.zip .editorconfig .flake8 .git* .mypy.ini .pre-commit-config.yaml Build-exe-and-msi.py *.manifest coriolis-data/* img/* pyproject.toml scripts/* tests/* wix/*' + exclusions: 'dist.win32/* dist.win32 __pycache__/* __pycache__ .editorconfig .flake8 .git* .mypy.ini .pre-commit-config.yaml Build-exe-and-msi.py *.manifest coriolis-data/* coriolis-data/.??* coriolis-data img/* img out/* out out.zip pyproject.toml scripts/* scripts tests/* tests wix/* wix WinSparkle.*' - name: Upload build files uses: actions/upload-artifact@v3 @@ -66,7 +68,7 @@ jobs: name: Built files path: | EDMarketConnector_win*.msi - EDMarketConnector-release-*.zip + ../EDMarketConnector-release-*.zip release: name: Release new version