Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/build_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
# - cron: '0 2 * * *' # Daily at 2 AM UTC
jobs:
custom-executable-build:
runs-on: ubuntu-22.04
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -32,21 +32,21 @@ jobs:
pyinstaller --onedir \
--contents-directory "." \
core.py \
--dist ./dist/output/core-ubuntu-22.04 \
--dist ./dist/output/core-windows \
--collect-submodules pyreadstat \
--add-data="resources/cache:resources/cache" \
--add-data="resources/templates:resources/templates" \
--add-data="resources/schema:resources/schema" \
--add-data="tests/resources/datasets:tests/resources/datasets"
- name: Prepare executable
run: |
cd dist/output/core-ubuntu-22.04/core
cd dist/output/core-windows/core
chmod +x core
file core # Verify x86_64 architecture
mv core cdisc-core-$(date +%Y%m%d)
echo "Executable ready: $(ls cdisc-core-*)"
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: cdisc-core-ubuntu-22.04
path: dist/output/core-ubuntu-22.04/core/cdisc-core-*
name: cdisc-core-windows
path: dist/output/core-windows/core/cdisc-core-*
Loading