Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/horde-lord/horde
Browse files Browse the repository at this point in the history
  • Loading branch information
horde-lord committed Jun 23, 2024
2 parents 64b52c1 + d586bb7 commit df89d44
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# 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: [ "main" ]
pull_request:
branches: [ "main" ]

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
- name: Test
run: dotnet test --no-build --verbosity normal
- name: Create NuGet package
run: dotnet pack --configuration Release --output nupkg -p:PackageId=Horde.Core
- name: Publish
run: dotnet nuget push nupkg/*.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json

2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
![CI](https://github.com/horde-lord/horde/actions/workflows/dotnet.yml/badge.svg)

# horde
Gamify your app with horde

0 comments on commit df89d44

Please sign in to comment.