Skip to content

Commit

Permalink
Update dotnet.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
SinoAHpx authored Oct 10, 2024
1 parent 68a16b2 commit 9ffdea8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Restore dependencies
run: dotnet restore
- name: Set VERSION variable from tag
run: echo "VERSION=${GITHUB_REF/refs\/tags\/v/}" >> $GITHUB_ENV
run: echo "VERSION=$(date +"%T")"
- name: Build
run: dotnet build --configuration Release /p:Version=${VERSION}
- name: Test
Expand Down

0 comments on commit 9ffdea8

Please sign in to comment.