Skip to content

Commit

Permalink
[fix:github] workflows fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
adeotek committed Sep 30, 2023
1 parent 718b4ca commit 727c640
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 1 deletion.
30 changes: 30 additions & 0 deletions .github/workflows/dotnet_build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: .NET build

on:
push:
branches: [ "main" ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 7.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore --configuration Release
- name: Test
run: dotnet test --configuration Release --no-build --verbosity normal
- uses: bbonkr/get-version-action@v1
id: get_version
with:
project: "src/Serilog.Sinks.GrafanaLoki.csproj"
- name: logging
run: |
echo "Version=${{steps.get_version.outputs.version}}"
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: .NET build and test
name: .NET dev-build

on:
push:
Expand Down
File renamed without changes.

0 comments on commit 727c640

Please sign in to comment.