-
Notifications
You must be signed in to change notification settings - Fork 1
48 lines (41 loc) · 1.16 KB
/
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
name: Nightly
on:
push:
branches:
- 'master'
workflow_dispatch:
jobs:
distribute:
uses: ./.github/workflows/distribute.yml
with:
version: nightly
artifact: distribution
lfscache: true
upload:
needs: [distribute]
runs-on: ubuntu-latest
steps:
- name: Get Distribution
uses: actions/download-artifact@v3
with:
name: distribution
- name: Get current date
id: date
run: echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT
- name: Upload Artifacts
uses: ncipollo/release-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
allowUpdates: true
artifactErrorsFailBuild: true
removeArtifacts: true
draft: false
prerelease: true
commit: 'master'
tag: 'nightly'
name: 'Drag[en]gine Example Projects Nightly Build'
body: |
Continuous Nightly Build of Drag[en]gine Example Projects.
Created: ${{ steps.date.outputs.date }}
Builds are potentially unstable. Use at own risk.
artifacts: '*.delga'