-
-
Notifications
You must be signed in to change notification settings - Fork 48
51 lines (44 loc) · 1.07 KB
/
release-nightly.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: Build and Release (Nightly)
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
permissions:
contents: write
jobs:
build:
uses: './.github/workflows/build.yml'
with:
target_ref: '${{ github.ref_name }}'
variant: 'nightly'
build_type: 'release-debug'
generate_version: true
do_package: true
steam-publish:
needs: build
uses: './.github/workflows/publish-steam.yml'
secrets: inherit
with:
branch: 'nightly'
gh-publish:
needs: build
uses: './.github/workflows/publish-gh.yml'
secrets: inherit
with:
tag: 'nightly'
name: 'Nightly'
generate-notes: true
# Delete artifacts after use.
cleanup:
if: 'always()'
runs-on: ubuntu-latest
needs: [gh-publish, steam-publish]
steps:
- uses: GeekyEggo/delete-artifact@v5
with:
name: |
*