ci: publish nightly builds from main

This commit is contained in:
elky
2026-09-01 16:43:29 +08:00
parent 7fb8d5fc0a
commit ef7caa40e7
4 changed files with 640 additions and 8 deletions
+7 -1
View File
@@ -1,6 +1,7 @@
name: Rust CI
on:
workflow_call:
push:
branches:
- master
@@ -11,6 +12,7 @@ on:
- "crates/**"
- "apps/**"
- ".github/workflows/rust-ci.yml"
- ".github/workflows/nightly.yml"
pull_request:
paths:
- "Cargo.toml"
@@ -18,11 +20,15 @@ on:
- "crates/**"
- "apps/**"
- ".github/workflows/rust-ci.yml"
- ".github/workflows/nightly.yml"
concurrency:
group: rust-ci-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
group: rust-ci-${{ github.event_name }}-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
permissions:
contents: read
env:
CARGO_INCREMENTAL: 0
CARGO_PROFILE_DEV_DEBUG: 0