Last active
March 2, 2024 20:23
-
-
Save WeihanLi/7b4032a32f1a25c5f2d84b6955fa83f3 to your computer and use it in GitHub Desktop.
dotnet-exec test script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Console.WriteLine($"Current date: {DateTime.Now.Date: yyyy-MM-dd}"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use the dotnet tool(install with
dotnet tool update -g dotnet-execute
):dotnet-exec "https://gist.github.com/WeihanLi/7b4032a32f1a25c5f2d84b6955fa83f3"
Use the container image:
docker run --rm --pull=always weihanli/dotnet-exec:latest "https://gist.github.com/WeihanLi/7b4032a32f1a25c5f2d84b6955fa83f3"