You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
63 lines
1.6 KiB
63 lines
1.6 KiB
# ------------------------------------------------------------------------------
|
|
# <auto-generated>
|
|
#
|
|
# This code was generated.
|
|
#
|
|
# - To turn off auto-generation set:
|
|
#
|
|
# [CustomGitHubActions (AutoGenerate = false)]
|
|
#
|
|
# - To trigger manual generation invoke:
|
|
#
|
|
# nuke --generate-configuration GitHubActions_PR --host GitHubActions
|
|
#
|
|
# </auto-generated>
|
|
# ------------------------------------------------------------------------------
|
|
|
|
name: PR
|
|
|
|
on: [pull_request]
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.run_id }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
windows-latest:
|
|
name: windows-latest
|
|
runs-on: windows-latest
|
|
timeout-minutes: 20
|
|
steps:
|
|
- uses: actions/setup-dotnet@v4
|
|
with:
|
|
dotnet-version: |
|
|
8.0
|
|
9.0
|
|
- uses: actions/checkout@v4
|
|
- name: 'Run: Clean, Test, Pack'
|
|
run: ./build.cmd Clean Test Pack
|
|
- name: 'Publish: publish'
|
|
uses: actions/upload-artifact@v4
|
|
if: runner.os == 'Windows'
|
|
with:
|
|
name: publish
|
|
path: publish
|
|
ubuntu-latest:
|
|
name: ubuntu-latest
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 20
|
|
steps:
|
|
- uses: actions/setup-dotnet@v4
|
|
with:
|
|
dotnet-version: |
|
|
8.0
|
|
9.0
|
|
- uses: actions/checkout@v4
|
|
- name: 'Run: Clean, Test, Pack'
|
|
run: ./build.cmd Clean Test Pack
|
|
- name: 'Publish: publish'
|
|
uses: actions/upload-artifact@v4
|
|
if: runner.os == 'Windows'
|
|
with:
|
|
name: publish
|
|
path: publish
|