Skip to content

Commit

Permalink
Actions: Update sellers date
Browse files Browse the repository at this point in the history
  • Loading branch information
marcsantiago committed Feb 20, 2024
1 parent b8a5259 commit 6d538fb
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions .github/workflows/validate_json.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,19 @@ jobs:
steps:
- uses: actions/checkout@v3
with:
path: './'
- run: |
cat sellers.json | jq -e
ref: ${{ github.head_ref }}
path: ads

- uses: actions/checkout@v3
id: validate-json
with:
path: ads
run: |
cat sellers.json | jq -e
- uses: actions/checkout@v3
id: json-timestamp
with:
path: ads
run: |
cat sellers.json | jq '.ext.last_updated = (now | todate)' > sellers.json

0 comments on commit 6d538fb

Please sign in to comment.