diff --git a/dotnet/Dockerfile b/dotnet/Dockerfile deleted file mode 100644 index 1417bb8..0000000 --- a/dotnet/Dockerfile +++ /dev/null @@ -1,9 +0,0 @@ -ARG VERSION=6.0.401 -FROM mcr.microsoft.com/dotnet/sdk:$VERSION - -RUN apt update -RUN apt install curl -y - -COPY entrypoint.sh /entrypoint.sh -RUN chmod +x /entrypoint.sh -ENTRYPOINT ["/entrypoint.sh"] diff --git a/dotnet/action.yaml b/dotnet/action.yaml deleted file mode 100644 index 5dbcc3d..0000000 --- a/dotnet/action.yaml +++ /dev/null @@ -1,11 +0,0 @@ -name: dotnet -description: "Run a dotnet command." -inputs: - command: - description: "Dotnet command to run." - required: false -runs: - using: 'docker' - image: 'Dockerfile' - args: - - ${{ inputs.command }} diff --git a/dotnet/dotnet-test/action.yaml b/dotnet/dotnet-test/action.yaml index b35175f..653fbe0 100644 --- a/dotnet/dotnet-test/action.yaml +++ b/dotnet/dotnet-test/action.yaml @@ -97,7 +97,7 @@ runs: with: file: ${{ inputs.resultsDirectory }} - name: "Upload artifacts." - if: ${{ !env.ACT && ( inputs.uploadArtifacts == 'true' ) }} + if: ${{ inputs.uploadArtifacts == 'true' }} uses: https://github.com/actions/upload-artifact@v3 with: name: ${{ inputs.artifactName }} diff --git a/dotnet/entrypoint.sh b/dotnet/entrypoint.sh deleted file mode 100644 index 3bb67ab..0000000 --- a/dotnet/entrypoint.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -dotnet $@