We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c5f602 commit 5b7ddebCopy full SHA for 5b7ddeb
.github/workflows/release.yml
@@ -4,6 +4,8 @@ on:
4
push:
5
tags:
6
- 'v*'
7
+ schedule:
8
+ - cron: "0 0 * * *" # Every day at midnight
9
10
jobs:
11
publish:
@@ -29,10 +31,20 @@ jobs:
29
31
username: ${{ github.repository_owner }}
30
32
password: ${{ secrets.GITHUB_TOKEN }}
33
34
+ # Publish a new release from git tag.
35
- uses: goreleaser/[email protected]
36
if: startsWith(github.ref, 'refs/tags/')
37
with:
38
version: latest
39
args: release --rm-dist
40
env:
41
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
42
+
43
+ # Publish nightly build.
44
+ - uses: goreleaser/[email protected]
45
+ if: github.event_name == 'schedule'
46
+ with:
47
+ version: latest
48
+ args: release --rm-dist --nightly
49
+ env:
50
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments