ci: minor syntax and workflow order fixes

This commit is contained in:
oopsbagel
2025-06-06 11:25:30 -07:00
committed by Cooper Quintin
parent bd2e0b4394
commit f53688086d
2 changed files with 12 additions and 7 deletions

View File

@@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v4
- name: Ensure all Cargo.toml files have the same version defined.
run: |
defined_versions=$(find lib bin installer rootshell telcom-parser -name Cargo.toml -exec grep ^version {} \; | uniq | wc -l)
defined_versions=$(find lib bin installer rootshell telcom-parser -name Cargo.toml -exec grep ^version {} \; | sort -u | wc -l)
find lib bin installer rootshell telcom-parser -name Cargo.toml -exec grep ^version {} \;
echo number of defined versions = $defined_versions
if [ $defined_versions != "1" ]