From 729a6b40a05b9a8b320dad41c03654456cf8ed07 Mon Sep 17 00:00:00 2001 From: Max Howell Date: Tue, 14 Jan 2025 14:04:52 -0500 Subject: [PATCH] test bottles after bumping --- .github/workflows/bump.yml | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/.github/workflows/bump.yml b/.github/workflows/bump.yml index 00d13aa..a8fc8e8 100644 --- a/.github/workflows/bump.yml +++ b/.github/workflows/bump.yml @@ -44,7 +44,16 @@ jobs: fail_on_unmatched_files: true generate_release_notes: true - - name: test `brew install` - run: | - brew install ./pkgx.rb - pkgx semverator satisfies ^1 1.0.0 + test: + needs: bump + strategy: + matrix: + os: [ubuntu-latest, macos-latest] + runs-on: ${{ matrix.os }} + steps: + - uses: Homebrew/actions/setup-homebrew@master + - run: brew install pkgxdev/made/pkgx + - run: pkgx semverator satisfies ^1 1.0.0 + - run: | + v=$(echo "${{ github.event.inputs.version }}" | awk '{print $2}') + test $(pkgx --version) = "pkgx $v"