initial commit

This commit is contained in:
2023-03-22 02:09:29 -07:00
commit 25694362f0
16 changed files with 406 additions and 0 deletions

9
dotnet/Dockerfile Normal file
View File

@@ -0,0 +1,9 @@
FROM mcr.microsoft.com/dotnet/sdk:7.0
# https://github.com/dotnet-script/dotnet-script
#RUN dotnet tool install dotnet-script --tool-path /usr/bin
COPY ./startup.sh /startup.sh
RUN chmod +x /startup.sh
ENTRYPOINT [ "/startup.sh" ]

11
dotnet/action.yaml Normal file
View File

@@ -0,0 +1,11 @@
name: "dotnet"
description: "Runs the specified dotnet command."
inputs:
command:
description: "The command to run."
required: false
runs:
using: docker
image: Dockerfile
args:
- ${{ inputs.command }}

2
dotnet/startup.sh Normal file
View File

@@ -0,0 +1,2 @@
#!/bin/bash
dotnet $@