Skip to content

Commit

Permalink
Fix nightly message for github nightlies
Browse files Browse the repository at this point in the history
  • Loading branch information
Bionus committed Nov 15, 2020
1 parent 9e129f8 commit c5bb2d4
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/android.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Android
on: push
on: []

jobs:
Android:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linux.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Linux
on: [push, pull_request]
on: []

jobs:
Linux:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/macos.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: MacOS
on: [push, pull_request]
on: []

jobs:
MacOS:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/uncrustify.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Uncrustify
on: [push, pull_request]
on: []

jobs:
Linux:
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,19 +132,23 @@ jobs:
copy /Y "%MYSQL_DRIVER_DIR%\sqldrivers\*.dll" "%Qt5_Dir%\plugins\sqldrivers"
iscc /Q /DMyAppVersion="%GRABBER_VERSION%" /DPlatformName="%PLATFORM_NAME%" /DQtDir="%Qt5_Dir%\bin" /DOpenSSLDir="%OPENSSL_ROOT_DIR%" /DMySQLDir="%MYSQL_DRIVER_DIR%" /DQtApngDll="%APNG_PLUGIN_DLL%" scripts\windows-setup\setup.iss
- id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%d %H:%M:%S %Z')"

- name: Nightly
uses: ncipollo/release-action@v1
if: ${{ github.event_name != 'pull_request' }}
with:
token: ${{ secrets.GITHUB_TOKEN }}
tag: nightly-github
tag: nightly-github-test
name: Nightly (Github)
allowUpdates: true
draft: false
draft: true
prerelease: true
artifacts: scripts\windows-setup\Grabber_*.exe
body: |
Nightly automated builds from the develop branch.
Automatically uploaded by Github actions, **use at your own risk**!
**Head:** ${{ env.GITHUB_SHA }}
**Head:** ${{ github.sha }}
**Date:** ${{ steps.date.outputs.date }}

0 comments on commit c5bb2d4

Please sign in to comment.