This commit is contained in:
AlexVeeBee 2024-02-26 23:54:45 +00:00
parent 57d87bd982
commit ece12754f6

View File

@ -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