Skip to content

Actions: Update sellers date #74

Actions: Update sellers date

Actions: Update sellers date #74

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
- name: Validate JSON
id: json-validate
working-directory: ads
run: |
cat sellers.json | jq -e
- name: Update JSON Timestamp
id: json-timestamp
working-directory: ads
run: |
cat sellers.json | jq '.ext.last_updated = (now | todate)' | tee sellers.json