Commit 1259466
committed
refactor: simplify github-release workflow (Option B)
- Rename build-and-release job to 'build' for clarity
- Remove redundant 'Build release binary for tag extraction' step
- Reuse build_info from needs.build.outputs instead of rebuilding
- Extract build info once in build job, propagate via job outputs
- Simplify release job: download artifacts → extract tag → create release
- Change tag format from 'sha-date' to 'date-sha' for chronological sorting in GitHub UI
- Tag computation now explicit: SHORT_SHA and DATE variables
- Reduce unnecessary cargo builds and CI time
## Benefits
- Cleaner two-job separation (build | release)
- No redundant builds - reuse outputs from build job
- Better for manual release workflows (no auto-release pressure)
- Chronological tag ordering: 2025-12-04-14be1ee
- Explicit variable extraction for maintainability1 parent 0ddc469 commit 1259466
1 file changed
Lines changed: 12 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
| 96 | + | |
100 | 97 | | |
101 | 98 | | |
102 | | - | |
| 99 | + | |
103 | 100 | | |
104 | 101 | | |
105 | | - | |
106 | | - | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
107 | 110 | | |
108 | 111 | | |
109 | 112 | | |
| |||
0 commit comments