Fix nightly release update and windows naming
This commit is contained in:
parent
071467bb2d
commit
fcb69e48bf
3 changed files with 9 additions and 2 deletions
2
.github/workflows/linux_build.yml
vendored
2
.github/workflows/linux_build.yml
vendored
|
@ -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
|
||||
|
|
2
.github/workflows/macOS_build.yml
vendored
2
.github/workflows/macOS_build.yml
vendored
|
@ -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
|
||||
|
|
7
.github/workflows/windows_build.yml
vendored
7
.github/workflows/windows_build.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue