Skip to content

Commit c6056bd

Browse files
committed
Update workflows
1 parent fb78564 commit c6056bd

File tree

4 files changed

+4
-8
lines changed

4 files changed

+4
-8
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Checkout
1515
uses: actions/checkout@v4
1616
- name: Build
17-
run: dotnet build --configuration Release --output /var/build
17+
run: dotnet build --configuration Release
1818
- name: Upload build result
1919
uses: actions/upload-artifact@v4
2020
with:
@@ -30,4 +30,4 @@ jobs:
3030
with:
3131
name: build
3232
- name: Test
33-
run: dotnet test --configuration Release --no-build /var/build
33+
run: dotnet test --configuration Release

.github/workflows/publish.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,9 @@ name: Publish to nuget.org
22
on:
33
workflow_run:
44
workflows: ["Check code quality"]
5+
branches: ["v[0-9]+.[0-9]+.[0-9]+"]
56
types:
67
- completed
7-
push:
8-
tags:
9-
- "v[0-9]+.[0-9]+.[0-9]+"
108
jobs:
119
publish:
1210
runs-on: ubuntu-latest

.github/workflows/sonarqube.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
name: Check code quality
22
on:
3-
push:
4-
pull_request:
53
workflow_run:
64
workflows: ["Build and test"]
75
types:

src/UnitTests/RxTelegram.Bot.UnitTests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net7.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55

66
<IsPackable>false</IsPackable>
77

0 commit comments

Comments
 (0)