From f41e83765aa6c00c5c277fb17abbfc113dc9cf75 Mon Sep 17 00:00:00 2001 From: qwsdcvghyu89 <61093706+qwsdcvghyu89@users.noreply.github.com> Date: Fri, 5 Jun 2026 00:16:55 +1000 Subject: [PATCH] Added custom container to checkout step. --- .gitea/workflows/build_releases.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/build_releases.yaml b/.gitea/workflows/build_releases.yaml index 5111453..2a19258 100644 --- a/.gitea/workflows/build_releases.yaml +++ b/.gitea/workflows/build_releases.yaml @@ -14,16 +14,17 @@ jobs: contents: write steps: - # 1. This runs on the host runner environment (which has Node.js) - name: Checkout Code - uses: actions/checkout@v4 + uses: docker://alpine/git:latest + with: + args: clone https://github.com/${{ github.repository }}.git . && git checkout ${{ github.sha }} - # 2. This specific step spins up the .NET container dynamically just for the build + # 2. Run the .NET compilation step - name: 'Execute .NET Publish Target' uses: docker://mcr.microsoft.com/dotnet/sdk:9.0 with: args: dotnet build aeqw89.tools.Publish/aeqw89.tools.Publish.csproj -t:PublishAll - + # 3. This runs on the host to seamlessly upload to the Gitea release - name: Update Nightly Release uses: softprops/action-gh-release@v2