Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Update nightly tag every night (#17879)

jvmncs761129e3739e
diff --git a/.github/workflows/bump_nightly_tag.yml b/.github/workflows/bump_nightly_tag.yml
new file mode 100644
index 00000000000..54a3970a1cd
--- /dev/null
+++ b/.github/workflows/bump_nightly_tag.yml
@@ -0,0 +1,23 @@
+name: Update Nightly Tag
+
+on:
+ schedule:
+ # Fire every day at 7:00am UTC (Roughly before EU workday and after US workday)
+ - cron: "0 7 * * *"
+
+jobs:
+ update-nightly-tag:
+ if: github.repository_owner == 'zed-industries'
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v4
+ with:
+ fetch-depth: 0
+
+ - name: Update nightly tag
+ run: |
+ git config user.name github-actions
+ git config user.email [email protected]
+ git tag -f nightly
+ git push origin nightly --force
diff --git a/.github/workflows/release_nightly.yml b/.github/workflows/release_nightly.yml
index e1fc5a39f2e..8371840984b 100644
--- a/.github/workflows/release_nightly.yml
+++ b/.github/workflows/release_nightly.yml
@@ -1,9 +1,6 @@
name: Release Nightly
on:
- schedule:
- # Fire every day at 7:00am UTC (Roughly before EU workday and after US workday)
- - cron: "0 7 * * *"
push:
tags:
- "nightly"