From 632425a70dc498bcfb9a97d632ecd32b83c139e9 Mon Sep 17 00:00:00 2001 From: Yoo1tic <137816438+Yoo1tic@users.noreply.github.com> Date: Mon, 11 Aug 2025 00:37:07 +0800 Subject: [PATCH] refactor: rename job keys for consistency and remove obsolete release workflow --- .github/workflows/dev-build.yml | 6 +++--- .github/workflows/{release.yml => release-build.yml} | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) rename .github/workflows/{release.yml => release-build.yml} (98%) diff --git a/.github/workflows/dev-build.yml b/.github/workflows/dev-build.yml index d596936..f19b526 100644 --- a/.github/workflows/dev-build.yml +++ b/.github/workflows/dev-build.yml @@ -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: diff --git a/.github/workflows/release.yml b/.github/workflows/release-build.yml similarity index 98% rename from .github/workflows/release.yml rename to .github/workflows/release-build.yml index 992f973..d3b50af 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release-build.yml @@ -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: