Build and Release #14
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.11.6 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
- name: Build with pyinstaller | |
run: | | |
pyinstaller main.py --noconfirm --onedir --console --icon icon_windows.ico --name "XLauncher" | |
- 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.4 | |
release_name: XLauncher v1.0.4 | |
body: | | |
## 🚀 Funciones | |
- Agregado indicador de por donde va la descarga. | |
- Agregada la opcion de instalar Fabric. | |
- Agregado las opcion de Ajustes. | |
- Editar Nombre ruta del Java RAM y Versión. | |
------ | |
## 📑Próximamente | |
- Login con cuenta Premium | |
- Versiones para Linux y MACOS | |
------ | |
## 🐛Se corrigieron los siguientes bugs | |
- [ ] 'UseConcMarkSweepGC' | |
 | |
draft: false | |
prerelease: false | |
- 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 |