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