mirror of
https://github.com/LibraHp/GetQzonehistory.git
synced 2024-12-29 07:29:40 +00:00
update
This commit is contained in:
parent
20e188851d
commit
a428167019
15
.github/workflows/build-and-release.yml
vendored
15
.github/workflows/build-and-release.yml
vendored
@ -9,10 +9,13 @@ on:
|
||||
- gui
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
env:
|
||||
BUILD_NUMBER: 1
|
||||
BUILD_VERSION: 1.0.2
|
||||
PYTHON_VERSION: 3.12.2
|
||||
PYTHON_VERSION: 3.9.20
|
||||
FLUTTER_VERSION: 3.24.0
|
||||
LATEST_RELEASE_TAG: 'latest'
|
||||
|
||||
@ -40,7 +43,7 @@ jobs:
|
||||
|
||||
- name: Flet Build macOS (aarch64)
|
||||
run: |
|
||||
flet pack --name GetQzonehistory-latest main.py
|
||||
flet pack --name GetQzonehistory-latest main.py -i .\assets\icon.ico
|
||||
|
||||
- name: Zip the macOS (aarch64) build
|
||||
run: |
|
||||
@ -75,7 +78,7 @@ jobs:
|
||||
|
||||
- name: Flet Build macOS (x86_64)
|
||||
run: |
|
||||
flet pack --name GetQzonehistory-latest main.py
|
||||
flet pack --name GetQzonehistory-latest main.py -i .\assets\icon.ico
|
||||
|
||||
- name: Zip the macOS (x86_64) build
|
||||
run: |
|
||||
@ -110,7 +113,7 @@ jobs:
|
||||
|
||||
- name: Flet Build Windows
|
||||
run: |
|
||||
flet pack --name GetQzonehistory-latest main.py
|
||||
flet pack --name GetQzonehistory-latest main.py -i .\assets\icon.ico
|
||||
|
||||
- name: Zip the Windows build using PowerShell
|
||||
shell: pwsh
|
||||
@ -150,7 +153,7 @@ jobs:
|
||||
run: |
|
||||
gh release delete ${{ env.LATEST_RELEASE_TAG }} --cleanup-tag -y || true
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.DEPLOY_KEY }}
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Create Release and Upload Assets
|
||||
uses: softprops/action-gh-release@v2
|
||||
@ -159,4 +162,4 @@ jobs:
|
||||
body: 'This release was created by GitHub Actions automatically. There is the latest version of GetQzonehistory.'
|
||||
files: './*.zip'
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.DEPLOY_KEY }}
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
@ -4,5 +4,5 @@ pandas==2.2.3
|
||||
Requests==2.31.0
|
||||
openpyxl==3.1.5
|
||||
dateparser==1.2.0
|
||||
fake-useragent
|
||||
pyinstaller
|
||||
fake-useragent==1.5.1
|
||||
pyinstaller==6.11.0
|
||||
|
Loading…
Reference in New Issue
Block a user