File tree Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change 6
6
- main
7
7
8
8
jobs :
9
+ pre-checks :
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - name : Validate Workflow Trigger
13
+ run : echo "Starting the release workflow..."
14
+
9
15
check-tests :
10
16
runs-on : ubuntu-latest
11
- needs : test # Wait for test jobs to finish first
17
+ needs : pre-checks # ✅ Now this job depends on pre-checks instead of nothing
12
18
13
19
steps :
14
20
- name : Download All Test Results
15
21
uses : actions/download-artifact@v4
16
22
with :
17
- path : test-results # Store all test result files here
23
+ path : test-results # ✅ Store test results here
18
24
19
- - name : Merge Test Results
20
- id : merge_tests
25
+ - name : Aggregate Test Results
26
+ id : aggregate_tests
21
27
run : |
22
28
FAILED_TESTS=0
23
29
for file in test-results/*/test_result_*; do
51
57
- name : Read Current Version
52
58
id : get_version
53
59
run : |
54
- VERSION=$(grep -oP '^__version__ = "\K[^"]+ ' cli_monitor.py)
60
+ VERSION=$(grep -m 1 '^__version__ =' cli_monitor.py | awk -F'=' '{print $2}' | sed 's/[^0-9.]//g' )
55
61
echo "CURRENT_VERSION=$VERSION" >> $GITHUB_ENV
56
62
57
63
- name : Determine Version Increment
You can’t perform that action at this time.
0 commit comments