Update msbuild.yml
This commit is contained in:
7
.github/workflows/msbuild.yml
vendored
7
.github/workflows/msbuild.yml
vendored
@@ -46,17 +46,14 @@ jobs:
|
|||||||
# See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference
|
# See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference
|
||||||
run: msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} ${{env.SOLUTION_FILE_PATH}}
|
run: msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} ${{env.SOLUTION_FILE_PATH}}
|
||||||
|
|
||||||
- name: Set Date Environment Variable
|
|
||||||
env:
|
|
||||||
BUILDATE: %DATE:~10,4%-%DATE:~4,2%-%DATE:~7,2%
|
|
||||||
|
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
id: auto-build
|
id: auto-build
|
||||||
uses: actions/create-release@latest
|
uses: actions/create-release@latest
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
|
||||||
|
BUILDATE: %DATE:~10,4%-%DATE:~4,2%-%DATE:~7,2%
|
||||||
with:
|
with:
|
||||||
tag_name: $env:BUILDATE
|
tag_name: ${{ env.BUILDATE }}
|
||||||
release_name: Auto-Build ${{ github.ref }}
|
release_name: Auto-Build ${{ github.ref }}
|
||||||
body: |
|
body: |
|
||||||
Automatically generated build. Possibly and likely unstable.
|
Automatically generated build. Possibly and likely unstable.
|
||||||
|
|||||||
Reference in New Issue
Block a user