File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments