Skip to content

Commit 6474302

Browse files
committed
dotnet 9.0 & name
1 parent 199cb8c commit 6474302

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,10 @@ jobs:
224224
runs-on: ubuntu-22.04
225225

226226
steps:
227+
- uses: actions/setup-dotnet@v4
228+
with:
229+
dotnet-version: 9.0
230+
227231
- name: Fetch NuGet Packages
228232
uses: actions/download-artifact@v4
229233
with:
@@ -239,7 +243,7 @@ jobs:
239243
240244
- name: Setup Project
241245
run: |
242-
dotnet new console --aot
246+
dotnet new console --aot -n hello-sentry
243247
dotnet add package Sentry --prerelease --source ./local-packages
244248
cat > Program.cs <<'EOF'
245249
SentrySdk.Init(options =>
@@ -253,9 +257,9 @@ jobs:
253257
- name: Publish Project
254258
run: dotnet publish -p:EnableSdkContainerSupport=true -t:PublishContainer
255259

256-
- name: Run Docker Container
257-
run: docker run --rm helloworld
258-
260+
- name: Run Container
261+
run: docker run hello-sentry
262+
259263
trim-analysis:
260264
needs: build-sentry-native
261265
name: Trim analysis

0 commit comments

Comments
 (0)