Skip to content

fix asset path in create-release workflow #10

fix asset path in create-release workflow

fix asset path in create-release workflow #10

name: Python app build (generate artifact)
on: push
worfklow_dispatch:

Check failure on line 4 in .github/workflows/create-artifact-download-github-ui.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/create-artifact-download-github-ui.yml

Invalid workflow file

You have an error in your yaml syntax on line 4
jobs:
build-and-package:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.8'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run tests
run: |
python test_app.py
- name: Package Application
run: |
zip -r app-package.zip app.py public templates requirements.txt
- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
name: packaged-app
path: app-package.zip