Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 2 additions & 10 deletions .github/dependabot.yml → .github/dependabot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,9 @@ updates:
interval: "monthly"
time: "09:00"
timezone: "Europe/Oslo"

- package-ecosystem: "nuget"
directory: "/build"
schedule:
interval: "monthly"
time: "09:00"
timezone: "Europe/Oslo"

- package-ecosystem: "nuget"
directory: "/src"
directory: "/"
schedule:
interval: "monthly"
time: "09:00"
Expand All @@ -28,4 +21,3 @@ updates:
all:
patterns:
- "*"

45 changes: 45 additions & 0 deletions .github/workflows/build-and-release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Build and release

on:
push:
tags:
- v*
pull_request:
branches:
- main

jobs:
build:
name: Build and release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Setup .NET 9
uses: actions/setup-dotnet@v4
with:
dotnet-version: 9.0.*

- name: Restore dotnet
run: dotnet restore

- name: Build dotnet
run: dotnet build --no-restore

- name: Docker meta
id: meta
if: github.event_name != 'pull_request'
uses: docker/metadata-action@v5
with:
sep-tags: ";"
tags: |
type=ref,event=branch
type=semver,pattern={{version}}

- name: Pack .NET project
if: github.event_name != 'pull_request'
run: dotnet pack Intility.Logging.sln -o Intility.Logging/output --property:Version=${{ steps.meta.outputs.tags }}

- name: Publish to NuGet
if: github.event_name != 'pull_request'
run: dotnet nuget push Intility.Logging/output/*.nupkg --skip-duplicate --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json
26 changes: 0 additions & 26 deletions .github/workflows/compile.yaml

This file was deleted.

48 changes: 0 additions & 48 deletions .github/workflows/publish.yaml

This file was deleted.

131 changes: 0 additions & 131 deletions .nuke/build.schema.json

This file was deleted.

4 changes: 0 additions & 4 deletions .nuke/parameters.json

This file was deleted.

60 changes: 0 additions & 60 deletions .vscode/tasks.json

This file was deleted.

1 change: 1 addition & 0 deletions CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @Intility/dotnet-devs
7 changes: 0 additions & 7 deletions build.cmd

This file was deleted.

Loading