nix: Refactor gh-actions and re-enable nightly builds (#31489)

Now that the nix build is working again, re-enable nightly builds and
refactor the workflow for re-use between nightly releases and CI jobs.

Release Notes:

- N/A

---------

Co-authored-by: Rahul Butani <rrbutani@users.noreply.github.com>
This commit is contained in:
Julia Ryan 2025-05-27 20:34:15 +02:00 committed by GitHub
parent b9a5d437db
commit 5b6b911946
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 88 additions and 57 deletions

View file

@ -167,6 +167,10 @@ jobs:
- name: Upload Zed Nightly
run: script/upload-nightly linux-targz
bundle-nix:
needs: tests
uses: ./.github/workflows/nix.yml
update-nightly-tag:
name: Update nightly tag
if: github.repository_owner == 'zed-industries'