From 4d8b695bb028e1f73faca9cdb5e72fdf9b9f3617 Mon Sep 17 00:00:00 2001 From: xRain Date: Tue, 22 Aug 2023 13:56:37 +0800 Subject: [PATCH] test --- action.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/action.yml b/action.yml index 2357d01..4771ea4 100644 --- a/action.yml +++ b/action.yml @@ -4,10 +4,6 @@ description: 'build docker image and push to simcu code' runs: using: 'composite' steps: - - uses: docker://mcr.microsoft.com/dotnet/sdk:7.0 - with: - args: dotnet publish -r linux-x64 -c Release --self-contained -o dist -p:AssemblyName=App - - uses: docker://ubuntu:latest with: entrypoint: "/bin/bash" @@ -18,6 +14,10 @@ runs: -c 'echo "ENTRYPOINT [\"./App\"]" >> Dockerfile' -c "echo 已经构建完DOCKERFILE了" + - uses: docker://mcr.microsoft.com/dotnet/sdk:7.0 + with: + args: dotnet publish -r linux-x64 -c Release --self-contained -o dist -p:AssemblyName=App + - uses: docker://docker:git with: entrypoint: "/bin/sh"