From 9647dab4a67aabd735c1ba0b3052e38a9288e090 Mon Sep 17 00:00:00 2001 From: Sergey Ladanov Date: Wed, 25 Oct 2023 23:21:56 +0300 Subject: [PATCH] init --- README.md | 27 +++++++++++++++++++++++++++ action.yml | 16 ++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 README.md create mode 100644 action.yml diff --git a/README.md b/README.md new file mode 100644 index 0000000..151a6ae --- /dev/null +++ b/README.md @@ -0,0 +1,27 @@ +# dotnet-sdk-ci + +Building dotnet projects + +## Usage: + +``` + +jobs: + build: + name: Building project + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - name: make + uses: embedd-actions/dotnet-sdk-ci@v6.0 + with: + command: dotnet publish -c Release -o out -r win-x64 --self-contained false /p:EnableWindowsTargeting=true + +``` + +## List of available tags + +``` +v6.0 +``` diff --git a/action.yml b/action.yml new file mode 100644 index 0000000..97b9f64 --- /dev/null +++ b/action.yml @@ -0,0 +1,16 @@ +name: 'Dotnet sdk build' +description: 'Building arm-gcc projects' +branding: + color: blue + icon: app-indicator +inputs: + command: + description: 'Command' + required: true + default: dotnet --version +runs: + using: 'docker' + image: 'docker://mcr.microsoft.com/dotnet/sdk:6.0' + args: + - ${{ inputs.command }} +