Skip to content

Commit

Permalink
更新 Workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Hikari committed Oct 13, 2024
1 parent 63e1731 commit 50f0754
Showing 1 changed file with 4 additions and 19 deletions.
23 changes: 4 additions & 19 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
build:
strategy:
matrix:
os: [macos-latest, ubuntu-20.04, windows-latest]
os: [ubuntu-20.04, windows-latest]

runs-on: ${{ matrix.os }}

Expand All @@ -36,29 +36,13 @@ jobs:
show-scons: true
mingw64: true
show-memory: true
output-file: "HikariServerLauncher${{ runner.os}}-${{ vars.VERSION }}.exe"
output-file: "HikariServerLauncher${{ runner.os }}-${{ vars.VERSION }}.exe"
windows-icon-from-ico: HSL.ico
company-name: HikariRevivalProject
product-name: HikariServerLauncher
product-version: ${{ vars.VERSION }}
file-description: HikariServerLauncher
copyright: "Copyright 2024 Hikari"
- name: Build executable(macOS)
if: ${{ matrix.os =='macos-latest' }}
uses: Nuitka/Nuitka-Action@main
with:
nuitka-version: main
script-name: main.py
onefile: true
show-scons: true
mingw64: true
show-memory: true
output-file: "HikariServerLauncher${{ runner.os}}-${{ vars.VERSION }}.app"
company-name: HikariRevivalProject
product-name: HikariServerLauncher
product-version: ${{ vars.VERSION }}
file-description: HikariServerLauncher
copyright: "Copyright 2024 Hikari"
- name: Build executable(Linux)
if: ${{ matrix.os == 'ubuntu-20.04' }}
uses: Nuitka/Nuitka-Action@main
Expand All @@ -69,7 +53,7 @@ jobs:
show-scons: true
mingw64: true
show-memory: true
output-file: "HikariServerLauncher${{ runner.os}}-${{ vars.VERSION }}.bin"
output-file: "HikariServerLauncher${{ runner.os }}-${{ vars.VERSION }}.bin"
company-name: HikariRevivalProject
product-name: HikariServerLauncher
product-version: ${{ vars.VERSION }}
Expand All @@ -84,6 +68,7 @@ jobs:
build/*.app/**/*
- name: Bump version and push tag
id: tag_version
if: ${{ matrix.os == 'ubuntu-20.04' }}
uses: anothrNick/github-tag-action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 50f0754

Please sign in to comment.