Skip to content

Commit

Permalink
Update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasweimann committed Jul 12, 2024
1 parent fb78564 commit c6056bd
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Build
run: dotnet build --configuration Release --output /var/build
run: dotnet build --configuration Release
- name: Upload build result
uses: actions/upload-artifact@v4
with:
Expand All @@ -30,4 +30,4 @@ jobs:
with:
name: build
- name: Test
run: dotnet test --configuration Release --no-build /var/build
run: dotnet test --configuration Release
4 changes: 1 addition & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@ name: Publish to nuget.org
on:
workflow_run:
workflows: ["Check code quality"]
branches: ["v[0-9]+.[0-9]+.[0-9]+"]
types:
- completed
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
jobs:
publish:
runs-on: ubuntu-latest
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/sonarqube.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
name: Check code quality
on:
push:
pull_request:
workflow_run:
workflows: ["Build and test"]
types:
Expand Down
2 changes: 1 addition & 1 deletion src/UnitTests/RxTelegram.Bot.UnitTests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>

<IsPackable>false</IsPackable>

Expand Down

0 comments on commit c6056bd

Please sign in to comment.