Skip to content

重构添加环境变量 #52

重构添加环境变量

重构添加环境变量 #52

Workflow file for this run

name: Pre release
on:
[push]
permissions:
contents: write
jobs:
build:
name: Auto Release
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Generate Bundle
run: |
python generate-bundle.py
- name: Remove File
shell: powershell
run: |
Remove-Item -Force -Recurse "generate-bundle.py", "utils.py"
- name: Auto release
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: latest
prerelease: true
files: |
*.py
*.bat
- name: Test For Install
run: ./install-python.bat