Skip to content

Commit

Permalink
fix pack with tool
Browse files Browse the repository at this point in the history
  • Loading branch information
nmaguiar authored Jan 14, 2025
1 parent 474fd55 commit be77118
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/compare-versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,19 @@ jobs:

- name: Preparing a lookup table for the build versions of the tools
run : |
oafp .github/softVersions-build.json out=ch ch="(type: file, options: (file: /tmp/_tmp.json))" chkey="tool"
oafp .github/softVersions-build.json out=ch ch="(type: file, options: (file: /tmp/_tmp.json))" chkey="pack"
oafp /tmp/_tmp.json
- name: Preparing a lookup table for the latest versions of the tools
run : |
oafp .github/softVersions-latest.json out=ch ch="(type: file, options: (file: /tmp/_tmpl.json))" chkey="tool"
oafp .github/softVersions-latest.json out=ch ch="(type: file, options: (file: /tmp/_tmpl.json))" chkey="pack"
oafp /tmp/_tmpl.json
- name: Joining the versions retrieved to produce a markdown table
run : |
oafp chs="[(name: v, type: file, options: (file: /tmp/_tmp.json))|(name: l, type: file, options: (file: /tmp/_tmpl.json))]"\
data="[]"\
path="ch('v','getall',__,__).{tool:pack,buildVersion:version,latestVersion:ch('l','get',{tool:pack},__).version}"\
path="ch('v','getAll',__,__)[].{tool:pack,buildVersion:version,latestVersion:ch('l','get',{pack:pack},__).version}"\
out=mdtable\
sql="select * order by tool" > .github/compare-versions.md
Expand Down

0 comments on commit be77118

Please sign in to comment.