init
This commit is contained in:
parent
57d87bd982
commit
ece12754f6
38
.github/workflows/main.yml
vendored
38
.github/workflows/main.yml
vendored
@ -28,22 +28,22 @@ jobs:
|
||||
env:
|
||||
CI: true
|
||||
AGENT_TOOLSDIRECTORY: /opt/gitea-runner/_work/_tool
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install -r requirements.txt
|
||||
- name: get pyinstaller
|
||||
run: |
|
||||
pip install pyinstaller
|
||||
- name: build
|
||||
run: |
|
||||
pyinstaller --onefile main.py
|
||||
- name: publish to release
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
files: dist/main
|
||||
tag_name: ${{ github.sha }}
|
||||
release_name: ${{ github.sha }}
|
||||
body: ${{ github.sha }}
|
||||
draft: false
|
||||
prerelease: false
|
||||
# - name: Install dependencies
|
||||
# run: |
|
||||
# python -m pip install --upgrade pip
|
||||
# pip install -r requirements.txt
|
||||
# - name: get pyinstaller
|
||||
# run: |
|
||||
# pip install pyinstaller
|
||||
# - name: build
|
||||
# run: |
|
||||
# pyinstaller --onefile main.py
|
||||
# - name: publish to release
|
||||
# uses: softprops/action-gh-release@v1
|
||||
# with:
|
||||
# files: dist/main
|
||||
# tag_name: ${{ github.sha }}
|
||||
# release_name: ${{ github.sha }}
|
||||
# body: ${{ github.sha }}
|
||||
# draft: false
|
||||
# prerelease: false
|
||||
|
Loading…
Reference in New Issue
Block a user