Skip to content

Moved checkout step to the top as I think it should be the 1st step. #53

Moved checkout step to the top as I think it should be the 1st step.

Moved checkout step to the top as I think it should be the 1st step. #53

Workflow file for this run

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: ['8.0.x']
steps:
- name: Check out Code πŸ›’
uses: actions/checkout@v4
with:
fetch-depth: 0
- 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: 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