diff --git a/.gitea/workflows/build_releases.yaml b/.gitea/workflows/build_releases.yaml index ce6411e..8e8b08e 100644 --- a/.gitea/workflows/build_releases.yaml +++ b/.gitea/workflows/build_releases.yaml @@ -18,13 +18,17 @@ jobs: - name: Checkout Code uses: actions/checkout@v4 - # 2. Run the .NET compilation step inside an isolated .NET container - - name: 'Execute .NET Publish Target' - uses: docker://mcr.microsoft.com/dotnet/sdk:9.0 + # 2. Setup the .NET 9.0 SDK natively on the runner + - name: Setup .NET 9.0 + uses: actions/setup-dotnet@v4 with: - args: dotnet build aeqw89.tools.Publish/aeqw89.tools.Publish.csproj -t:PublishAll + dotnet-version: '9.0.x' + + # 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 - # 3. Upload to Gitea Release natively on the host + # 4. Upload to Gitea Release natively on the host - name: Update Nightly Release uses: softprops/action-gh-release@v2 with: