Skip to content

Merge pull request #1385 from DuendeSoftware/joe/copyright-headers #1861

Merge pull request #1385 from DuendeSoftware/joe/copyright-headers

Merge pull request #1385 from DuendeSoftware/joe/copyright-headers #1861

Workflow file for this run

name: "CI"
on:
push:
branches:
- main
- features/**
tags:
- '*.*.*'
pull_request:
env:
DOTNET_NOLOGO: true
permissions:
contents: read
jobs:
build:
strategy:
fail-fast: false
matrix:
runs-on: [macOS-latest, ubuntu-latest, windows-latest]
name: ${{ matrix.runs-on }}
runs-on: ${{ matrix.runs-on }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup dotnet (main)
uses: actions/setup-dotnet@v2
with:
dotnet-version: |
8.0.100-preview.6.23330.14
- run: dotnet --info
- if: contains(matrix.runs-on, 'macOS') || contains(matrix.runs-on, 'ubuntu')
run: ./build.sh
- if: matrix.runs-on == 'windows-latest' && github.ref != 'refs/heads/main' && !contains(github.ref, 'refs/tags/')
run: ./build.ps1
- if: (matrix.runs-on == 'windows-latest') && (github.ref == 'refs/heads/main' || contains(github.ref, 'refs/tags/'))
env:
SignClientSecret: ${{ secrets.SIGNCLIENTSECRET }}
run: |
./build.ps1 sign
dotnet nuget push .\artifacts\*.nupkg -s https://www.myget.org/F/duende_identityserver/api/v2/package -k ${{ secrets.MYGET }}