forked from mashed-potatoes/Potato.Fastboot
-
Notifications
You must be signed in to change notification settings - Fork 1
34 lines (28 loc) · 797 Bytes
/
dotnet.yml
File metadata and controls
34 lines (28 loc) · 797 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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 }}