Build nightly release based on 'nightly' tag, not any tag w/ nightly prefix

Max Brunsfeld created

Change summary

.github/actions/run_tests/action.yml  | 8 --------
.github/workflows/ci.yml              | 6 ++++++
.github/workflows/release_nightly.yml | 2 +-
3 files changed, 7 insertions(+), 9 deletions(-)

Detailed changes

.github/actions/run_tests/action.yml 🔗

@@ -32,11 +32,3 @@ runs:
         RUSTFLAGS: -D warnings
       shell: bash -euxo pipefail {0}
       run: cargo nextest run --workspace --no-fail-fast
-
-    - name: Build collab
-      shell: bash -euxo pipefail {0}
-      run: cargo build -p collab
-
-    - name: Build other binaries
-      shell: bash -euxo pipefail {0}
-      run: cargo build --workspace --bins --all-features

.github/workflows/ci.yml 🔗

@@ -48,6 +48,12 @@ jobs:
       - name: Run tests
         uses: ./.github/actions/run_tests
 
+      - name: Build collab
+        run: cargo build -p collab
+
+      - name: Build other binaries
+        run: cargo build --workspace --bins --all-features
+
   bundle:
     name: Bundle app
     runs-on: