From 7d07fc3fb9be3bece3f213e0ae777374ff006423 Mon Sep 17 00:00:00 2001 From: Andrew Poelstra Date: Sun, 7 Apr 2024 14:10:11 +0000 Subject: [PATCH] ci: update the new nightly_version file in cron --- .github/workflows/cron-daily-update-nightly.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cron-daily-update-nightly.yml b/.github/workflows/cron-daily-update-nightly.yml index 0553d524..467abc07 100644 --- a/.github/workflows/cron-daily-update-nightly.yml +++ b/.github/workflows/cron-daily-update-nightly.yml @@ -17,7 +17,7 @@ jobs: # version of the compiler dtolnay/rust-toolchain gives us. NIGHTLY_DATE=$(rustc +nightly --verbose --version | sed -ne 's/^commit-date: //p') # Update the nightly version in the reference file. - echo "nightly-${NIGHTLY_DATE}" > .github/nightly-version + echo "nightly-${NIGHTLY_DATE}" > nightly-version echo "nightly_date=${NIGHTLY_DATE}" >> $GITHUB_ENV # Some days there is no new nightly. In this case don't make an empty PR. if ! git diff --exit-code > /dev/null; then