From fcb69e48bfb6ac014d62508db27c89b47cd3c863 Mon Sep 17 00:00:00 2001 From: manongjohn Date: Sat, 24 Apr 2021 10:49:12 -0400 Subject: [PATCH] Fix nightly release update and windows naming --- .github/workflows/linux_build.yml | 2 ++ .github/workflows/macOS_build.yml | 2 ++ .github/workflows/windows_build.yml | 7 +++++-- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/linux_build.yml b/.github/workflows/linux_build.yml index 8de97964..80cb5eaf 100644 --- a/.github/workflows/linux_build.yml +++ b/.github/workflows/linux_build.yml @@ -92,6 +92,8 @@ jobs: artifactContentType: "raw" body: ${{ github.event.head_commit.message }} name: ${{ env.NIGHTLYDATETIME }} + omitBodyDuringUpdate: true + omitNameDuringUpdate: true owner: tahoma2d prerelease: true replacesArtifacts: true diff --git a/.github/workflows/macOS_build.yml b/.github/workflows/macOS_build.yml index c00095f5..99079dcf 100644 --- a/.github/workflows/macOS_build.yml +++ b/.github/workflows/macOS_build.yml @@ -86,6 +86,8 @@ jobs: artifactContentType: "raw" body: ${{ github.event.head_commit.message }} name: ${{ env.NIGHTLYDATETIME }} + omitBodyDuringUpdate: true + omitNameDuringUpdate: true owner: tahoma2d prerelease: true replacesArtifacts: true diff --git a/.github/workflows/windows_build.yml b/.github/workflows/windows_build.yml index 78f9dab5..7a205f5a 100644 --- a/.github/workflows/windows_build.yml +++ b/.github/workflows/windows_build.yml @@ -42,8 +42,9 @@ jobs: - name: Get Nightly Release Date if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} run: | - echo "NIGHTLYDATE=$(date '+%Y-%m-%d')" >> $GITHUB_ENV - echo "NIGHTLYDATETIME=$(date '+%Y-%m-%d %H:%M:%S %Z')" >> $GITHUB_ENV + chcp 65001 #set code page to utf-8 + echo ("NIGHTLYDATE=" + (Get-Date -format "yyyy-MM-dd")) >> $env:GITHUB_ENV + echo ("NIGHTLYDATETIME=" + (Get-Date -format "yyyy-MM-dd HH:mm:ss UTC")) >> $env:GITHUB_ENV - name: Update Latest Nightly Release if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} uses: ncipollo/release-action@v1 @@ -68,6 +69,8 @@ jobs: artifactContentType: "raw" body: ${{ github.event.head_commit.message }} name: ${{ env.NIGHTLYDATETIME }} + omitBodyDuringUpdate: true + omitNameDuringUpdate: true owner: tahoma2d prerelease: true replacesArtifacts: true