Skip to content

Merge branch 'master' of https://github.com/IeuanWalker/Hangfire.Recu… #13

Merge branch 'master' of https://github.com/IeuanWalker/Hangfire.Recu…

Merge branch 'master' of https://github.com/IeuanWalker/Hangfire.Recu… #13

Workflow file for this run

# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
name: Build
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
schedule:
- cron: '0 0 1 */3 *' # Every 3 months
env:
NET_VERSION: 8.0.100
NUGET_PATH: './**/IeuanWalker.Hangfire.RecurringJob.1.0.0.nupkg'
PROJECT_PATH: 'Scr/IeuanWalker.Hangfire.RecurringJob.Generator/IeuanWalker.Hangfire.RecurringJob.Generator.csproj'
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET ${{ env.NET_VERSION }}
uses: actions/setup-dotnet@v2
with:
dotnet-version: ${{ env.NET_VERSION }}
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- uses: actions/upload-artifact@v3
with:
name: NuGet
path: ${{ env.NUGET_PATH }}