From 1dce8e21b5433542a19e6ebb168b3d1ff5cdeca5 Mon Sep 17 00:00:00 2001 From: Ladislas de Toldi Date: Thu, 24 Oct 2024 11:00:57 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20(brew):=20Upgrade=20workflows?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/publish.yml | 12 ------------ .github/workflows/tests.yml | 13 ++++--------- 2 files changed, 4 insertions(+), 21 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2d2cadd..c2478a9 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -23,18 +23,6 @@ jobs: id: set-up-homebrew uses: Homebrew/actions/setup-homebrew@master - - name: Cache Homebrew Bundler RubyGems - id: cache - uses: actions/cache@v4 - with: - path: ${{ steps.set-up-homebrew.outputs.gems-path }} - key: ${{ runner.os }}-rubygems-${{ steps.set-up-homebrew.outputs.gems-hash }} - restore-keys: ${{ runner.os }}-rubygems- - - - name: Install Homebrew Bundler RubyGems - if: steps.cache.outputs.cache-hit != 'true' - run: brew install-bundler-gems - - name: Set up git run: | git config --global user.name "osxCrossTestBot" diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index bfcc85d..714ffbc 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -26,16 +26,11 @@ jobs: uses: Homebrew/actions/setup-homebrew@master - name: Cache Homebrew Bundler RubyGems - id: cache uses: actions/cache@v4 with: path: ${{ steps.set-up-homebrew.outputs.gems-path }} - key: ${{ runner.os }}-rubygems-${{ steps.set-up-homebrew.outputs.gems-hash }} - restore-keys: ${{ runner.os }}-rubygems- - - - name: Install Homebrew Bundler RubyGems - if: steps.cache.outputs.cache-hit != 'true' - run: brew install-bundler-gems + key: ${{ matrix.os }}-rubygems-${{ steps.set-up-homebrew.outputs.gems-hash }} + restore-keys: ${{ matrix.os }}-rubygems- - run: brew test-bot --only-cleanup-before @@ -50,5 +45,5 @@ jobs: if: always() && github.event_name == 'pull_request' uses: actions/upload-artifact@v4 with: - name: bottles-${{ matrix.os }} - path: "*.bottle.*" + name: bottles_${{ matrix.os }} + path: '*.bottle.*'