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 81be964 commit 5d2790fCopy full SHA for 5d2790f
.github/workflows/release.yaml
@@ -23,8 +23,12 @@ jobs:
23
name: release
24
needs: [ "release-workflow" ]
25
runs-on: ubuntu-latest
26
- if: ${{ startsWith(github.ref, 'refs/tags/') }}
+ if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'schedule' }}
27
steps:
28
+ - name: Get current date
29
+ id: date
30
+ run: echo "NIGHTLY_DATE=$(date +'%Y-%m-%d')" >> $GITHUB_ENV
31
+
32
- name: Checkout code
33
uses: actions/checkout@v4
34
@@ -53,3 +57,12 @@ jobs:
53
57
files: |
54
58
./out/*
55
59
60
+ - name: Release nightly
61
+ if: ${{ github.event_name == 'schedule' }}
62
+ uses: softprops/action-gh-release@v1
63
+ with:
64
+ tag_name: nightly-${{ env.NIGHTLY_DATE }}
65
+ draft: false
66
+ prerelease: true
67
+ files: |
68
+ ./out/*
0 commit comments