-
-
Notifications
You must be signed in to change notification settings - Fork 61
44 lines (38 loc) · 969 Bytes
/
build-release-nightly.yml
File metadata and controls
44 lines (38 loc) · 969 Bytes
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
# 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-release:
uses: './.github/workflows/build.yml'
with:
variant: 'dynamic'
build_type: 'release'
fail_fast: false
build-debug:
uses: './.github/workflows/build.yml'
with:
variant: 'dynamic'
build_type: 'debug'
fail_fast: false
release:
runs-on: ubuntu-latest
needs: [build-release, build-debug]
steps:
- uses: actions/download-artifact@v4
with:
pattern: 'inochi2d-*'
merge-multiple: true
- name: 'Release to nightly'
uses: softprops/action-gh-release@v2
with:
tag_name: 'nightly'
files: |
*.tar