From 2d798d72ede4ef4e5aa10015908c0ce4c3cbc7ef Mon Sep 17 00:00:00 2001 From: Scion Date: Tue, 1 Jul 2025 14:35:27 -0700 Subject: [PATCH] Removed act constraint --- dotnet/Dockerfile | 9 --------- dotnet/action.yaml | 11 ----------- dotnet/dotnet-test/action.yaml | 2 +- dotnet/entrypoint.sh | 2 -- 4 files changed, 1 insertion(+), 23 deletions(-) delete mode 100644 dotnet/Dockerfile delete mode 100644 dotnet/action.yaml delete mode 100644 dotnet/entrypoint.sh 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 $@