xlauncher 1.0.4-1 #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Release | |
on: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.11.6 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.12.2 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
- name: Build with pyinstaller | |
run: | | |
flet pack main.py --name XLauncher --onedir --icon icon_windows.ico --product-name XLauncher --add-data "assets;assets" --product-version "1.0.0" --copyright "Copyright (c) 2024 ByteBloom" | |
- name: Compress folder | |
shell: powershell | |
run: | | |
Compress-Archive -Path dist/XLauncher -DestinationPath XLauncher-Windows.zip | |
- name: Create Release | |
id: create_release | |
uses: actions/create-release@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.TOKEN }} | |
with: | |
tag_name: v1.0 | |
release_name: XLauncher v1.0 | |
body: | | |
## 🚀 Funciones | |
- Todavía en BETA | |
------ | |
## 📑Próximamente | |
- Login con cuenta Premium | |
- Versiones para Linux y MACOS | |
------ | |
## 🐛Se corrigieron los siguientes bugs | |
![GitHub Downloads (all assets, all releases)](https://img.shields.io/github/downloads/KeimaSenpai/XLauncher-ui/total?style=for-the-badge&label=Download&color=%23756AB6) | |
draft: false | |
prerelease: true | |
- name: Upload Release Asset | |
id: upload-release-asset | |
uses: actions/upload-release-asset@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.TOKEN }} | |
with: | |
upload_url: ${{ steps.create_release.outputs.upload_url }} | |
asset_path: ./XLauncher-Windows.zip | |
asset_name: XLauncher-Windows.zip | |
asset_content_type: application/zip |