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 0a7b30c commit ffea376Copy full SHA for ffea376
.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
@@ -52,3 +56,12 @@ jobs:
52
56
files: |
53
57
./out/*
54
58
59
+ - name: Release nightly
60
+ if: ${{ github.event_name == 'schedule' }}
61
+ uses: softprops/action-gh-release@v1
62
+ with:
63
+ tag_name: nightly-${{ env.NIGHTLY_DATE }}
64
+ draft: false
65
+ prerelease: true
66
+ files: |
67
+ ./out/*
0 commit comments