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 e390726  Try to run local version of ruby
e390726 is described below

commit e390726a81feb6be26e5cee28da9bcefed14e39b
Author: Sebb <s...@apache.org>
AuthorDate: Wed Mar 23 23:07:13 2022 +0000

    Try to run local version of ruby
---
 .github/workflows/test.yml | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
new file mode 100644
index 0000000..9ae3600
--- /dev/null
+++ b/.github/workflows/test.yml
@@ -0,0 +1,28 @@
+name: dummy
+# Try to see if can use 
+on:
+  push:
+
+  workflow_dispatch:
+
+jobs:
+  test:
+    strategy:
+      fail-fast: false
+      matrix:
+        os: [ubuntu-20.04, 'macos-latest']
+        ruby: [2.7]
+    runs-on: ${{ matrix.os }}
+    steps:
+    - uses: ruby/setup-ruby@v1
+      with:
+        ruby-version: ${{ matrix.ruby }}
+    - name: setup agenda 1
+      run: |
+        set -v
+        which -a ruby
+        ruby --version
+        sudo which -a ruby
+        sudo ruby --version
+        # try to run local version of ruby
+        sudo $(dirname $(which ruby))/ruby --version

Reply via email to