From 0af0fe2bf0899ac6f80485d630e497ad42968e99 Mon Sep 17 00:00:00 2001 From: Alw3ys Date: Mon, 11 Mar 2024 19:09:13 +0100 Subject: [PATCH] feat: macos support --- .github/workflows/test.yml | 5 ++++- action.yml | 4 ++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1b0d654..4c3c109 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,7 +9,10 @@ on: jobs: test: name: 'test ${{ matrix.os }}' - runs-on: ubuntu-latest + strategy: + matrix: + os: [ubuntu-latest, macos-latest] + runs-on: ${{ matrix.os }} steps: - name: Checkout uses: actions/checkout@v4 diff --git a/action.yml b/action.yml index 975f649..a532b48 100644 --- a/action.yml +++ b/action.yml @@ -15,3 +15,7 @@ runs: sudo apt-get update sudo apt-get install deb-s3 shell: bash + if: runner.os == 'Linux' + - run: gem install deb-s3 + shell: bash + if: runner.os == 'macOS'