Skip to content

Commit bef250b

Browse files
authored
Update dotnet.yml
1 parent c9e24eb commit bef250b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/dotnet.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ jobs:
1919
dotnet-version: 5.0.x
2020
- name: Restore dependencies
2121
run: dotnet restore
22-
- name: Build
22+
- name: Build and prepare for release
23+
id: date
2324
run: dotnet build --no-restore && echo "::set-output name=today::$(date +"%d-%m-%y")"
2425

2526

@@ -29,6 +30,6 @@ jobs:
2930
files: |
3031
/home/runner/work/SharpBoot/SharpBoot/SharpBoot/bin/Debug/net472/SharpBoot.dll
3132
name: SharpBoot Release
32-
tag_name: ${{ steps.Build.outputs.today }}
33+
tag_name: ${{ steps.date.outputs.today }}
3334
env:
3435
GITHUB_TOKEN: ${{ secrets.TEST }}

0 commit comments

Comments
 (0)