Skip to content

Commit 1aaad14

Browse files
committed
more yaml changes
1 parent 418f96b commit 1aaad14

2 files changed

Lines changed: 5 additions & 7 deletions

File tree

.github/workflows/dotnet-core.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
env:
1010
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
11-
DOTNET_VERSION: 8.0.x
11+
DOTNET_VERSION: 10.0.x
1212
DOTNET_CLI_TELEMETRY_OPTOUT: 1
1313

1414
jobs:

.github/workflows/nuget.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
name: NuGet
22

33
on:
4-
push:
5-
branches: [ main, master ]
6-
pull_request:
7-
branches: [ main, master ]
84
release:
95
types: [published]
106
workflow_dispatch: # This enables the manual button
@@ -15,14 +11,16 @@ on:
1511
default: 'Manual test'
1612
env:
1713
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
18-
DOTNET_VERSION: 8.0.x
14+
DOTNET_VERSION: 10.0.x
1915
DOTNET_CLI_TELEMETRY_OPTOUT: 1
2016

2117
jobs:
2218
build:
23-
if: github.event_name == 'release' || github.event_name == 'workflow_dispatch'
2419
runs-on: ubuntu-latest
2520
steps:
21+
- name: Check trigger reason
22+
run: |
23+
echo "Triggered because: ${{ github.event.inputs.reason }}"
2624
- name: Checkout
2725
uses: actions/checkout@v4
2826
- name: Setup dotnet

0 commit comments

Comments
 (0)