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: env:
CI: true CI: true
AGENT_TOOLSDIRECTORY: /opt/gitea-runner/_work/_tool AGENT_TOOLSDIRECTORY: /opt/gitea-runner/_work/_tool
- name: Install dependencies # - name: Install dependencies
run: | # run: |
python -m pip install --upgrade pip # python -m pip install --upgrade pip
pip install -r requirements.txt # pip install -r requirements.txt
- name: get pyinstaller # - name: get pyinstaller
run: | # run: |
pip install pyinstaller # pip install pyinstaller
- name: build # - name: build
run: | # run: |
pyinstaller --onefile main.py # pyinstaller --onefile main.py
- name: publish to release # - name: publish to release
uses: softprops/action-gh-release@v1 # uses: softprops/action-gh-release@v1
with: # with:
files: dist/main # files: dist/main
tag_name: ${{ github.sha }} # tag_name: ${{ github.sha }}
release_name: ${{ github.sha }} # release_name: ${{ github.sha }}
body: ${{ github.sha }} # body: ${{ github.sha }}
draft: false # draft: false
prerelease: false # prerelease: false