Reverted to use node (actions runner now has node available)
This commit is contained in:
@@ -14,20 +14,17 @@ jobs:
|
|||||||
contents: write
|
contents: write
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
# 1. Native Shell Checkout inside an Alpine-Git Container
|
# 1. Standard Checkout (Works now because Node is installed!)
|
||||||
- name: Checkout Code
|
- name: Checkout Code
|
||||||
uses: docker://alpine/git:latest
|
uses: actions/checkout@v4
|
||||||
entrypoint: /bin/sh
|
|
||||||
with:
|
|
||||||
args: -c "git clone https://git.main.qwsdcvghyu.com/riley/aeqw89.tools.Publish.git . && git checkout ${{ github.sha }}"
|
|
||||||
|
|
||||||
# 2. Run the .NET compilation step
|
# 2. Run the .NET compilation step inside an isolated .NET container
|
||||||
- name: 'Execute .NET Publish Target'
|
- name: 'Execute .NET Publish Target'
|
||||||
uses: docker://mcr.microsoft.com/dotnet/sdk:9.0
|
uses: docker://mcr.microsoft.com/dotnet/sdk:9.0
|
||||||
with:
|
with:
|
||||||
args: dotnet build aeqw89.tools.Publish/aeqw89.tools.Publish.csproj -t:PublishAll
|
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
|
# 3. 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:
|
||||||
|
|||||||
Reference in New Issue
Block a user