openrefine-task-runner/.github/workflows/default.yml

34 lines
1015 B
YAML
Raw Normal View History

2022-04-06 20:43:30 +02:00
name: default
2022-04-06 13:30:59 +02:00
on:
workflow_dispatch: # allows you to run this workflow manually from the Actions tab
jobs:
main:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: install go-task 3.10.0
run: |
wget --no-verbose -O task.tar.gz https://github.com/go-task/task/releases/download/v3.10.0/task_linux_amd64.tar.gz
sudo tar -xzf task.tar.gz -C /usr/local/bin task && rm task.tar.gz
- name: install OpenRefine and openrefine-client
run: task install
2022-04-06 21:25:27 +02:00
- name: start OpenRefine
run: task start
- name: run workflow
run: task example
- name: print stats and check log file
run: task check
2022-04-06 13:30:59 +02:00
- uses: actions/upload-artifact@v2
if: always()
with:
name: OpenRefine project and logfile
2022-04-06 20:46:16 +02:00
path: .openrefine/tmp
2022-04-06 13:30:59 +02:00
retention-days: 7
- name: git commit and push
run: |
git config user.name "Automated"
git config user.email "actions@users.noreply.github.com"
task git