Skip to content

Fix fetching artifacts when sudo -i changes directory #205

Fix fetching artifacts when sudo -i changes directory

Fix fetching artifacts when sudo -i changes directory #205

Workflow file for this run

name: Test spread
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
run-tests:
runs-on: self-hosted
steps:
- uses: actions/checkout@v2
- name: Run tests
run: |
spread google:
- name: Discard spread workers
if: always()
run: |
shopt -s nullglob
for r in .spread-reuse.*.yaml; do
spread -discard -reuse-pid="$(echo "$r" | grep -o -E '[0-9]+')"
done