-
-
Notifications
You must be signed in to change notification settings - Fork 17
34 lines (29 loc) · 823 Bytes
/
code.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: code
on:
push:
paths-ignore:
- 'site/**'
- 'img/**'
- '*.md'
- '*.txt'
pull_request:
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
- name: Install .NET 7.0 and 8.0
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
7.0
8.0
- name: Build, Test, Pack, Publish
shell: bash
run: |
dotnet tool install -g dotnet-releaser --configfile .github/workflows/nuget_org_only.config
dotnet-releaser run --skip-app-packages-for-build-only --nuget-token "${{secrets.NUGET_TOKEN}}" --github-token "${{secrets.GITHUB_TOKEN}}" --github-token-extra "${{secrets.TOKEN_GITHUB_EXTRA}}" src/dotnet-releaser.toml