fix go-task install

This commit is contained in:
Felix Lohmeier 2021-07-14 23:03:13 +02:00 committed by GitHub
parent b770ffcb3f
commit b3752aaf58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 8 deletions

View File

@ -10,9 +10,8 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: install go-task 3.2.2 - name: install go-task 3.2.2
run: | run: |
echo "$PATH"
wget --no-verbose -O task.tar.gz https://github.com/go-task/task/releases/download/v3.2.2/task_linux_amd64.tar.gz wget --no-verbose -O task.tar.gz https://github.com/go-task/task/releases/download/v3.2.2/task_linux_amd64.tar.gz
tar -xzf task.tar.gz -C ~/usr/local/bin task && rm task.tar.gz tar -xzf task.tar.gz -C ~/.local/bin task && rm task.tar.gz
- name: install OpenRefine and openrefine-client - name: install OpenRefine and openrefine-client
run: task install run: task install
- name: run task ${{ github.job }} - name: run task ${{ github.job }}
@ -30,14 +29,15 @@ jobs:
git status git status
git commit -m "latest change: $(date -u)" || exit 0 git commit -m "latest change: $(date -u)" || exit 0
git push git push
example-duplicates: # available as environment variable $GITHUB_JOB and context ${{ github.job }} example-duplicates: # available as environment variable $GITHUB_JOB and context ${{ github.job }}
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: install go-task - name: install go-task 3.2.2
run: | run: |
wget https://github.com/go-task/task/releases/download/v3.2.2/task_linux_amd64.deb wget --no-verbose -O task.tar.gz https://github.com/go-task/task/releases/download/v3.2.2/task_linux_amd64.tar.gz
sudo apt-get install ./task_linux_amd64.deb && rm task_linux_amd64.deb tar -xzf task.tar.gz -C ~/.local/bin task && rm task.tar.gz
- name: install OpenRefine and openrefine-client - name: install OpenRefine and openrefine-client
run: task install run: task install
- name: run task ${{ github.job }} - name: run task ${{ github.job }}
@ -55,14 +55,15 @@ jobs:
git status git status
git commit -m "latest change: $(date -u)" || exit 0 git commit -m "latest change: $(date -u)" || exit 0
git push git push
example-powerhouse: # available as environment variable $GITHUB_JOB and context ${{ github.job }} example-powerhouse: # available as environment variable $GITHUB_JOB and context ${{ github.job }}
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: install go-task - name: install go-task 3.2.2
run: | run: |
wget https://github.com/go-task/task/releases/download/v3.2.2/task_linux_amd64.deb wget --no-verbose -O task.tar.gz https://github.com/go-task/task/releases/download/v3.2.2/task_linux_amd64.tar.gz
sudo apt-get install ./task_linux_amd64.deb && rm task_linux_amd64.deb tar -xzf task.tar.gz -C ~/.local/bin task && rm task.tar.gz
- name: install OpenRefine and openrefine-client - name: install OpenRefine and openrefine-client
run: task install run: task install
- name: run task ${{ github.job }} - name: run task ${{ github.job }}