This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new 1065e38 Need sudo; try conditional
1065e38 is described below
commit 1065e3817ebbf3fda5f29b46ae237ddd05d6ce8b
Author: Sebb <[email protected]>
AuthorDate: Wed Mar 23 12:40:34 2022 +0000
Need sudo; try conditional
---
.github/workflows/unittestlib.yml | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/unittestlib.yml
b/.github/workflows/unittestlib.yml
index f8c2398..f439764 100644
--- a/.github/workflows/unittestlib.yml
+++ b/.github/workflows/unittestlib.yml
@@ -18,9 +18,14 @@ jobs:
ruby: [2.7]
runs-on: ${{ matrix.os }}
steps:
- - run: apt-get install libldap2-dev
- uses: actions/checkout@v2
- - uses: ruby/setup-ruby@v1
+ with:
+ persist-credentials: false
+ - name: setup
+ run: sudo apt-get install libldap2-dev
+ if: ${{ matrix.os }} != 'macos-latest'
+ - name: ruby
+ uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true