diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index b579f817..f1b10da8 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -67,7 +67,7 @@ jobs: # Workaround for https://github.com/actions/runner-images/issues/2821 - name: Remove mono blocking 8084 port - run: sudo kill -s 9 $(sudo lsof -t -i:8084) + run: sudo lsof -t -i:8084 | xargs -r sudo kill -9 - name: Set up Docker run: | @@ -113,7 +113,7 @@ jobs: # Workaround for https://github.com/actions/runner-images/issues/2821 - name: Remove mono blocking 8084 port - run: sudo kill -s 9 $(sudo lsof -t -i:8084) + run: sudo lsof -t -i:8084 | xargs -r sudo kill -9 - name: Set up Docker run: | diff --git a/.github/workflows/pr-test.yml b/.github/workflows/pr-test.yml index 52ea32b8..787a52d4 100644 --- a/.github/workflows/pr-test.yml +++ b/.github/workflows/pr-test.yml @@ -65,7 +65,7 @@ jobs: # Workaround for https://github.com/actions/runner-images/issues/2821 - name: Remove mono blocking 8084 port - run: sudo kill -s 9 $(sudo lsof -t -i:8084) + run: sudo lsof -t -i:8084 | xargs -r sudo kill -9 - name: Set up Docker run: | @@ -111,7 +111,7 @@ jobs: # Workaround for https://github.com/actions/runner-images/issues/2821 - name: Remove mono blocking 8084 port - run: sudo kill -s 9 $(sudo lsof -t -i:8084) + run: sudo lsof -t -i:8084 | xargs -r sudo kill -9 - name: Set up Docker run: | diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 4e39cd80..64601b5a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -46,7 +46,7 @@ jobs: # Workaround for https://github.com/actions/runner-images/issues/2821 - name: Remove mono blocking 8084 port - run: sudo kill -s 9 $(sudo lsof -t -i:8084) + run: sudo lsof -t -i:8084 | xargs -r sudo kill -9 - name: Set up Docker run: | @@ -92,7 +92,7 @@ jobs: # Workaround for https://github.com/actions/runner-images/issues/2821 - name: Remove mono blocking 8084 port - run: sudo kill -s 9 $(sudo lsof -t -i:8084) + run: sudo lsof -t -i:8084 | xargs -r sudo kill -9 - name: Set up Docker run: |