Skip to content

Commit acef797

Browse files
author
Petr Sramek
committed
updated
1 parent f067e28 commit acef797

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/dotnet.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ on:
44
push:
55
branches: [ $default-branch ]
66
pull_request:
7-
branches: [ 'main' ]
7+
branches: [ $default-branch ]
88

99
env:
1010
dotnet_version: ${{ vars.DOTNET_VERSION }}
1111

1212
jobs:
1313
build:
14-
name: Build with .NET $dotnet_version
14+
name: Build with .NET ${{ env.$dotnet_version }}
1515
runs-on: ubuntu-latest
1616
steps:
1717
- uses: actions/checkout@v3
@@ -30,7 +30,7 @@ jobs:
3030
**/obj/*
3131
3232
test:
33-
name: Test with .NET $dotnet_version
33+
name: Test with .NET ${{ env.$dotnet_version }}
3434
needs: [build]
3535
runs-on: ubuntu-latest
3636
steps:
@@ -49,7 +49,7 @@ jobs:
4949
**/test-results/*
5050
5151
pack:
52-
name: Pack with .NET $dotnet_version
52+
name: Pack with .NET ${{ env.$dotnet_version }}
5353
needs: [test]
5454
runs-on: ubuntu-latest
5555
steps:

0 commit comments

Comments
 (0)