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"
|
artifactContentType: "raw"
|
||||||
body: ${{ github.event.head_commit.message }}
|
body: ${{ github.event.head_commit.message }}
|
||||||
name: ${{ env.NIGHTLYDATETIME }}
|
name: ${{ env.NIGHTLYDATETIME }}
|
||||||
|
omitBodyDuringUpdate: true
|
||||||
|
omitNameDuringUpdate: true
|
||||||
owner: tahoma2d
|
owner: tahoma2d
|
||||||
prerelease: true
|
prerelease: true
|
||||||
replacesArtifacts: true
|
replacesArtifacts: true
|
||||||
|
|
2
.github/workflows/macOS_build.yml
vendored
2
.github/workflows/macOS_build.yml
vendored
|
@ -86,6 +86,8 @@ jobs:
|
||||||
artifactContentType: "raw"
|
artifactContentType: "raw"
|
||||||
body: ${{ github.event.head_commit.message }}
|
body: ${{ github.event.head_commit.message }}
|
||||||
name: ${{ env.NIGHTLYDATETIME }}
|
name: ${{ env.NIGHTLYDATETIME }}
|
||||||
|
omitBodyDuringUpdate: true
|
||||||
|
omitNameDuringUpdate: true
|
||||||
owner: tahoma2d
|
owner: tahoma2d
|
||||||
prerelease: true
|
prerelease: true
|
||||||
replacesArtifacts: 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
|
- name: Get Nightly Release Date
|
||||||
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
||||||
run: |
|
run: |
|
||||||
echo "NIGHTLYDATE=$(date '+%Y-%m-%d')" >> $GITHUB_ENV
|
chcp 65001 #set code page to utf-8
|
||||||
echo "NIGHTLYDATETIME=$(date '+%Y-%m-%d %H:%M:%S %Z')" >> $GITHUB_ENV
|
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
|
- name: Update Latest Nightly Release
|
||||||
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
||||||
uses: ncipollo/release-action@v1
|
uses: ncipollo/release-action@v1
|
||||||
|
@ -68,6 +69,8 @@ jobs:
|
||||||
artifactContentType: "raw"
|
artifactContentType: "raw"
|
||||||
body: ${{ github.event.head_commit.message }}
|
body: ${{ github.event.head_commit.message }}
|
||||||
name: ${{ env.NIGHTLYDATETIME }}
|
name: ${{ env.NIGHTLYDATETIME }}
|
||||||
|
omitBodyDuringUpdate: true
|
||||||
|
omitNameDuringUpdate: true
|
||||||
owner: tahoma2d
|
owner: tahoma2d
|
||||||
prerelease: true
|
prerelease: true
|
||||||
replacesArtifacts: true
|
replacesArtifacts: true
|
||||||
|
|
Loading…
Reference in a new issue