File tree Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Original file line number Diff line number Diff line change 9090
9191 - name : Build conquest python
9292 run : |
93- ${{ needs.setup.outputs.python }} build_conquest_python.py > build_output.log 2>&1
94- cat build_output.log
95- output=$(grep "Creating.*\.tar\.gz.*in" build_output.log | tail -n 1)
96- echo "Parsed output line: $output"
97- if [[ -z "$output" ]]; then
98- echo "Error: No 'Creating' line found in build output"
99- exit 1
100- fi
93+ output=$(${{ needs.setup.outputs.python }} build_conquest_python.py | grep Creating | tail -n 1)
10194 archive_filename=$(echo $output | awk '{print $2}')
102- archive_path=$(echo $output | sed 's/^Creating .* in //')
103- echo "Parsed filename: $archive_filename"
104- echo "Parsed path: $archive_path"
95+ archive_path=$(echo $output | awk '{print $NF}')
10596 echo "archive_filename=$archive_filename" >> $GITHUB_ENV
10697 echo "archive_path=$archive_path" >> $GITHUB_ENV
10798
@@ -152,4 +143,3 @@ jobs:
152143 echo "Failed to upload ${{ env.archive_filename }} to ProGet"
153144 exit 1
154145 fi
155-
You can’t perform that action at this time.
0 commit comments