Skip to content

edit workflow

edit workflow #10

Workflow file for this run

name: HikariServerLauncher Build(Windows)
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: PyInstaller Action
uses: Martin005/[email protected]
with:
spec: main.py
requirements: requirements.txt
options: -F -i HSL.ico
python_ver: 3.12.4
python_arch: x64
upload_exe_with_name: HikariServerLauncher-${{ vars.VERSION }}.exe
- name: EXE Upload to website
if: success()
uses: wearesection/[email protected]
with:
host: ${{ secrets.HOST }}
port: ${{ secrets.PORT }}
username: root
password: ${{ secrets.PASSWORD }}
localPath: .\dist\main.exe
remotePath: ${{ secrets.REMOTEPATH }}