Skip to content

writer

writer #18523

Workflow file for this run

name: writer
on:
workflow_run:
workflows: ["parser"]
types:
- completed
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Write demo announcements
run: |
git show HEAD:data/results.jsonl > data/jsonl/$(git show -s --format=%cd --date=format:'%Y%m%d-%H%M%S')-$(git rev-parse HEAD).jsonl
- name: Remove duplicates
run: |
sudo snap install fclones
fclones group data/jsonl/ | fclones remove
- name: Commit and push
uses: github-actions-x/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
push-branch: 'main'
commit-message: 'ran writer'
rebase: true
name: 'writer'
files: data/jsonl/