Skip to content

防止遞迴調用

防止遞迴調用 #28

name: Python application Cuda
on:
push:
paths:
- 'Local-Windows/main.py'
- 'Local-Windows/AutoYT.cmd'
- 'Local-Windows/requirements.txt'
pull_request:
paths:
- 'Local-Windows/main.py'
- 'Local-Windows/AutoYT.cmd'
- 'Local-Windows/requirements.txt'
jobs:
upload-files:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r Local-Windows/requirements.txt
- name: Upload specified files as Artifact
uses: actions/upload-artifact@v2
with:
name: Python-application-Cuda
path: |
Local-Windows/AutoYT.cmd
Local-Windows/main.py
Local-Windows/requirements.txt