Skip to content

Merge pull request #55 from drasticactions/fix-schema #303

Merge pull request #55 from drasticactions/fix-schema

Merge pull request #55 from drasticactions/fix-schema #303

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: Nuget
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the "main" branch
push:
branches: [ "main", release-*, develop ]
pull_request:
branches: [ "main", release-*, develop ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of commits
submodules: 'true'
# Install .NET Core SDK
- name: Setup .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.x
# Pack Nuget
- name: Build and Pack Nugets
run: dotnet pack src/FishyFlip.sln --configuration Release --output nupkg
- name: Upload Nuget
uses: actions/upload-artifact@v4
with:
name: nupkg
path: nupkg/*.nupkg