-
Notifications
You must be signed in to change notification settings - Fork 5
44 lines (42 loc) · 1.18 KB
/
build-deploy.yml
File metadata and controls
44 lines (42 loc) · 1.18 KB
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
35
36
37
38
39
40
41
42
43
44
name: nuget-build-deploy
on:
push:
branches:
- '**'
tags:
- '\d+\.\d+\.\d+'
paths-ignore:
- '**/*.md'
concurrency:
group: ${{ github.workflow }}-${{ github.ref_type }}-${{ github.ref_name }}
cancel-in-progress: true
jobs:
build:
name: Build 🏗
runs-on: ubuntu-latest
strategy:
matrix:
dotnet-version: ['9.0.x']
steps:
- name: Setup .NET ${{ matrix.dotnet-version }}
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ matrix.dotnet-version }}
- name: Display dotnet version 🧐
run: dotnet --version
- name: Check out Code 🛒
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Dispatch Nuke 🚀
shell: bash
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
NUGET_URL: ${{ vars.NUGET_URL }}
PACKAGES_GITHUB_NUGET_PAT: ${{ secrets.PACKAGES_GITHUB_NUGET_PAT }}
PACKAGES_GITHUB_NUGET_URL: ${{ vars.PACKAGES_GITHUB_NUGET_URL }}
RELEASE_NOTES: ${{ vars.RELEASE_NOTES }}
Configuration: Release
IgnoreFailedSources: false
run: |
./src/build.sh