Skip to content

Fix bug with empty pypi host #6

Fix bug with empty pypi host

Fix bug with empty pypi host #6

name: Build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
run-script:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Build
run: python batify.py --script batify.py
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: script-output
path: dist/batify.bat
retention-days: 5
- name: Build and run examples
run: |
.\dist\batify.bat --script examples/hello_world.py --outdir test
.\test\hello_world.bat
.\dist\batify.bat --script examples/hello_world_req.py --requirements examples/requirements.txt --outdir test
.\test\hello_world_req.bat
.\dist\batify.bat --script examples/hello_world_pep723.py --outdir test
.\test\hello_world_pep723.bat