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"