Switched to using setup-dotnet instead of containers

This commit is contained in:
qwsdcvghyu89
2026-06-05 00:33:58 +10:00
parent 59b623c170
commit 3fb20e57d1
+9 -5
View File
@@ -18,13 +18,17 @@ jobs:
- name: Checkout Code - name: Checkout Code
uses: actions/checkout@v4 uses: actions/checkout@v4
# 2. Run the .NET compilation step inside an isolated .NET container # 2. Setup the .NET 9.0 SDK natively on the runner
- name: 'Execute .NET Publish Target' - name: Setup .NET 9.0
uses: docker://mcr.microsoft.com/dotnet/sdk:9.0 uses: actions/setup-dotnet@v4
with: with:
args: dotnet build aeqw89.tools.Publish/aeqw89.tools.Publish.csproj -t:PublishAll dotnet-version: '9.0.x'
# 3. Upload to Gitea Release natively on the host # 3. Native run command (guaranteed to be in the correct directory)
- name: 'Execute .NET Publish Target'
run: dotnet build aeqw89.tools.Publish/aeqw89.tools.Publish.csproj -t:PublishAll
# 4. Upload to Gitea Release natively on the host
- name: Update Nightly Release - name: Update Nightly Release
uses: softprops/action-gh-release@v2 uses: softprops/action-gh-release@v2
with: with: