This commit is contained in:
Sergey Ladanov 2023-10-25 23:21:56 +03:00
commit 9647dab4a6
2 changed files with 43 additions and 0 deletions

27
README.md Normal file
View File

@ -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
```

16
action.yml Normal file
View File

@ -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 }}