mirror of
https://github.com/BililiveRecorder/BililiveRecorder.git
synced 2024-11-15 19:22:19 +08:00
parent
72a90c890f
commit
52c2d4aef0
9
.github/workflows/build.yml
vendored
9
.github/workflows/build.yml
vendored
|
@ -42,7 +42,8 @@ jobs:
|
|||
run: dotnet test -v m -c Release
|
||||
|
||||
build_wpf:
|
||||
needs: test
|
||||
# Tests can be run parallelly for debug builds to save time
|
||||
# needs: test
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
@ -74,7 +75,8 @@ jobs:
|
|||
path: BililiveRecorder.WPF/bin/Release
|
||||
|
||||
build_cli:
|
||||
needs: test
|
||||
# Tests can be run parallelly for debug builds to save time
|
||||
# needs: test
|
||||
strategy:
|
||||
matrix:
|
||||
rid: [any, linux-arm, linux-arm64, linux-x64, osx-x64, osx-arm64, win-x64]
|
||||
|
@ -117,7 +119,8 @@ jobs:
|
|||
path: BililiveRecorder.Cli/publish/${{ matrix.rid }}/Release
|
||||
|
||||
build_docker:
|
||||
needs: test
|
||||
# Tests can be run parallelly for debug builds to save time
|
||||
# needs: test
|
||||
runs-on: ubuntu-latest
|
||||
if: github.event_name != 'pull_request'
|
||||
permissions:
|
||||
|
|
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
|
@ -39,7 +39,7 @@ jobs:
|
|||
run: dotnet test -v m -c Release
|
||||
|
||||
release_wpf:
|
||||
needs: test
|
||||
needs: test # Tests must be passed before releasing
|
||||
strategy:
|
||||
matrix:
|
||||
build_configuration: [Release]
|
||||
|
@ -81,7 +81,7 @@ jobs:
|
|||
asset_content_type: application/zip
|
||||
|
||||
release_cli:
|
||||
needs: test
|
||||
needs: test # Tests must be passed before releasing
|
||||
strategy:
|
||||
matrix:
|
||||
rid: [any, linux-arm, linux-arm64, linux-x64, osx-x64, osx-arm64, win-x64]
|
||||
|
@ -128,7 +128,7 @@ jobs:
|
|||
asset_content_type: application/zip
|
||||
|
||||
release_docker:
|
||||
needs: test
|
||||
needs: test # Tests must be passed before releasing
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
|
|
Loading…
Reference in New Issue
Block a user