Skip to content

Commit d007635

Browse files
ci: fix nightly title
1 parent f03e7b8 commit d007635

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/nightly.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,16 @@ jobs:
6464
needs: build
6565
runs-on: ubuntu-latest
6666
steps:
67+
- uses: actions/checkout@v4
68+
6769
- uses: actions/download-artifact@v4
6870
with:
6971
pattern: binary-*
7072
merge-multiple: true
7173

74+
- name: Set release date
75+
run: echo "RELEASE_DATE=$(date -u +%Y-%m-%d)" >> "$GITHUB_ENV"
76+
7277
- name: Delete existing nightly release
7378
env:
7479
GH_TOKEN: ${{ github.token }}
@@ -81,7 +86,7 @@ jobs:
8186
uses: softprops/action-gh-release@v2
8287
with:
8388
tag_name: nightly
84-
name: "nightly ($(date -u +%Y-%m-%d))"
89+
name: "nightly (${{ env.RELEASE_DATE }})"
8590
prerelease: true
8691
body: "Automated nightly build from the latest commit on main."
8792
files: createos-*

0 commit comments

Comments
 (0)