init
This commit is contained in:
commit
9647dab4a6
27
README.md
Normal file
27
README.md
Normal 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
16
action.yml
Normal 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 }}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user