mirror of
https://github.com/FAUSheppy/homelab_gamevault
synced 2025-12-06 06:51:36 +01:00
fix: install requirements & only build tags
This commit is contained in:
9
.github/workflows/release.yaml
vendored
9
.github/workflows/release.yaml
vendored
@@ -2,8 +2,8 @@ name: Build and Release EXE
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
tags:
|
||||||
- master
|
- '*'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@@ -22,9 +22,10 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install pyinstaller
|
pip install pyinstaller
|
||||||
|
pip install -r requirements.txt
|
||||||
|
|
||||||
- name: Build EXE
|
- name: Build EXE
|
||||||
run: pyinstaller client.py
|
run: pyinstaller -F client.py
|
||||||
|
|
||||||
- name: Archive EXE
|
- name: Archive EXE
|
||||||
run: Compress-Archive -Path dist\ -DestinationPath release.zip
|
run: Compress-Archive -Path dist\ -DestinationPath release.zip
|
||||||
@@ -32,4 +33,4 @@ jobs:
|
|||||||
- name: Release
|
- name: Release
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: gh release create ${{ github.ref_name }} "release.zip" --generate-notes --title "v-${{ github.ref_name }}"
|
run: gh release create ${{ github.ref_name }} "release.zip" --generate-notes --title "release-${{ github.ref_name }}"
|
||||||
Reference in New Issue
Block a user