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

34 lines
1015 B
YAML

name: default
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
- name: start OpenRefine
run: task start
- name: run workflow
run: task example
- name: print stats and check log file
run: task check
- uses: actions/upload-artifact@v2
if: always()
with:
name: OpenRefine project and logfile
path: .openrefine/tmp
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