Skip to content

Commit f232c43

Browse files
committed
Update gh actions
1 parent d2ab12b commit f232c43

1 file changed

Lines changed: 6 additions & 9 deletions

File tree

.github/workflows/make-json.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,13 @@ jobs:
1616
steps:
1717
- name: Checkout repository
1818
uses: actions/checkout@v4
19-
- name: setup-yq
20-
run: |
21-
sudo curl -L "https://github.com/mikefarah/yq/releases/download/v4.28.2/yq_linux_amd64" > /usr/local/bin/yq
22-
sudo chmod +x /usr/local/bin/yq
23-
- name: convert to json
19+
- name: Install uv
20+
uses: astral-sh/setup-uv@v7
21+
with:
22+
cache-dependency-glob: scripts/pyproject.toml
23+
- name: Excecute validation script and create output directory
2424
run: |
25-
mkdir build
26-
touch build/.nojekyll
27-
cat packages/**/meta.yaml
28-
yq -o=json packages/**/meta.yaml | jq -s . > build/ecosystem.json
25+
uvx --from ./scripts validate-registry --registry-dir packages --outdir=build
2926
- name: Upload GitHub Pages artifact
3027
uses: actions/upload-pages-artifact@v3
3128
with:

0 commit comments

Comments
 (0)