Added custom container to checkout step.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user