From 67513d7c23e4c434d470c36e5b00623b075cf765 Mon Sep 17 00:00:00 2001 From: freedom Date: Mon, 4 Dec 2023 13:50:19 -0700 Subject: [PATCH] Update msbuild.yml --- .github/workflows/msbuild.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/msbuild.yml b/.github/workflows/msbuild.yml index d956ea4..3633606 100644 --- a/.github/workflows/msbuild.yml +++ b/.github/workflows/msbuild.yml @@ -46,17 +46,14 @@ jobs: # See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference 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 id: auto-build uses: actions/create-release@latest env: 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: - tag_name: $env:BUILDATE + tag_name: ${{ env.BUILDATE }} release_name: Auto-Build ${{ github.ref }} body: | Automatically generated build. Possibly and likely unstable.