Skip to content

Actions: Update sellers date #68

Actions: Update sellers date

Actions: Update sellers date #68

Workflow file for this run

name: Sellers.json validation
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
verify-json-validation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
path: ads
- uses: actions/checkout@v3
- name: Validate sellers.json
id: validate-json
with:
path: ads
run: |

Check failure on line 24 in .github/workflows/validate_json.yml

View workflow run for this annotation

GitHub Actions / Sellers.json validation

Invalid workflow file

The workflow is not valid. .github/workflows/validate_json.yml (Line: 24, Col: 9): Unexpected value 'run' .github/workflows/validate_json.yml (Line: 20, Col: 9): Required property is missing: uses
cat sellers.json | jq -e
- uses: actions/checkout@v3
- name: Update Timestamp
id: json-timestamp
with:
path: ads
run: |
cat sellers.json | jq '.ext.last_updated = (now | todate)' > sellers.json