Skip to content

fix

fix #19

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: .NET
on:
push:
branches: [ "master", feat/hangfire-xperience-integration ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Publish
run: dotnet pack ./src/Bluesoft.Xperience.ScheduleTasks/Bluesoft.XbK.ScheduleTasks.csproj --no-build --output ./packages
- name: Nuget push
env:
YOUR_GITHUB_PAT: ${{ secrets.YOUR_GITHUB_PAT }}
run: dotnet nuget push "./packages/*.nupkg" --source "https://api.nuget.org/v3/index.json" --api-key $YOUR_GITHUB_PAT