v1.1-1 #19
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: HikariServerLauncher Build | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- name: PyInstaller Action | |
uses: Martin005/[email protected] | |
with: | |
spec: main.py | |
requirements: requirements.txt | |
options: -F -i HSL.ico --name=HikariServerLauncher-${{ vars.VERSION }}.exe | |
python_ver: 3.10.7 | |
python_arch: x64 | |
exe_path: ./dist | |
upload_exe_with_name: HikariServerLauncher-${{ vars.VERSION }}.exe | |
- name: EXE Upload to website | |
uses: Creepios/[email protected] | |
with: | |
# Host to login | |
host: ${{ secrets.HOST }} | |
# Port to login | |
port: ${{ secrets.PORT }} | |
# Username to login | |
username: root | |
# Passwort to login | |
password: ${{ secrets.PASSWORD }} | |
# Local file or directory | |
localPath: ./dist/HikariServerLauncher-${{ vars.VERSION }}.exe | |
# Remote file or directory path (file or directories will be created) | |
remotePath: ${{ secrets.REMOTEPATH }} | |
# Path to ssh-agent | |
agent: # optional, default is process.env.SSH_AGENT | |
# Path to key file or directly the key (via secret or paste) | |
privateKey: # optional | |
# Define if private key is a local file or string | |
privateKeyIsFile: # optional, default is false | |
# Define a passphrase for encrypted private keys | |
passphrase: # optional | |