refactor: rename job keys for consistency and remove obsolete release workflow

main
Yoo1tic 2025-08-11 00:37:07 +08:00
parent c6a9c1d39b
commit 632425a70d
2 changed files with 7 additions and 7 deletions

View File

@ -10,7 +10,7 @@ env:
CARGO_TERM_COLOR: always
jobs:
build-linux:
linux:
name: Build Linux
runs-on: ${{ matrix.runner }}
strategy:
@ -60,7 +60,7 @@ jobs:
path: ${{ matrix.release_name }}
retention-days: 30
build-windows:
windows:
name: Build Windows
runs-on: windows-latest
strategy:
@ -105,7 +105,7 @@ jobs:
path: ${{ matrix.release_name }}
retention-days: 30
build-macos:
macos:
name: Build macOS
runs-on: macos-latest
strategy:

View File

@ -12,7 +12,7 @@ permissions:
contents: write
jobs:
build-linux:
linux:
name: Build Linux
runs-on: ${{ matrix.runner }}
strategy:
@ -66,7 +66,7 @@ jobs:
path: ${{ matrix.release_name }}.zip
retention-days: 1
build-windows:
windows:
name: Build Windows
runs-on: windows-latest
strategy:
@ -112,7 +112,7 @@ jobs:
path: ${{ matrix.release_name }}.zip
retention-days: 1
build-macos:
macos:
name: Build macOS
runs-on: macos-latest
strategy:
@ -166,7 +166,7 @@ jobs:
release:
name: Create Release
needs: [build-linux, build-windows]
needs: [linux, windows, macos]
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/')
steps: