Skip to content

Commit

Permalink
Update GitHub Actions workflow to support main branch and Python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
andersy005 committed Oct 21, 2024
1 parent c77d607 commit 85a048e
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/validate-catalog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,11 @@ name: catalog
on:
pull_request:
branches:
- main
push:
branches:
- main
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -20,11 +23,16 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: validate feedstock entry
python-version: "3.12"
- name: validate feedstock entry and generate catalog
uses: leap-stc/data-catalog-actions/leap-catalog@main
with:
single-feedstock: "./feedstock/catalog.yaml"
generation-single: "./feedstock/catalog.yaml"
output-directory: "./catalog"

- name: Commit changes
run: |
cat catalog/output/consolidated-web-catalog.json | jq
# - name: Dispatch event
# uses: actions/github-script@v4
Expand Down

0 comments on commit 85a048e

Please sign in to comment.