Skip to content

Build SharpBoot

Build SharpBoot #37

Workflow file for this run

name: Build SharpBoot
on:
workflow_dispatch:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build and prepare for release
id: date
run: dotnet build --no-restore && echo "::set-output name=today::$(date +"%d-%m-%y")"
- name: Upload to Release
uses: softprops/action-gh-release@v1
with:
files: |
/home/runner/work/SharpBoot/SharpBoot/SharpBoot/bin/Debug/net6.0/SharpBoot.dll
name: SharpBoot Release
tag_name: ${{ steps.date.outputs.today }}