File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed
actions/test-redis-package Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 88 cask :
99 description : ' Cask to test'
1010 required : true
11+ tap :
12+ description : ' Tap to test'
13+ required : true
1114
1215runs :
1316 using : " composite"
@@ -25,11 +28,11 @@ runs:
2528 run : |
2629 export HOMEBREW_GITHUB_API_TOKEN=$GITHUB_TOKEN
2730 brew update
28- brew tap ${{ vars.REDIS_TAP }} .
31+ brew tap ${{ inputs.tap }} .
2932 - name : Edit cask file
3033 shell : bash
3134 run : |
32- ${{ github.action_path }}/edit-cask.sh --cask ${{ inputs.cask }} --binary "$(pwd)/$ARTIFACT_NAME" ${{ inputs.redis_version }}
35+ ${{ github.action_path }}/edit-cask.sh --cask ${{ inputs.cask }} --binary "$(pwd)/$ARTIFACT_NAME" --tap ${{ inputs.tap }} ${{ inputs.redis_version }}
3336 - name : Install Redis CE
3437 shell : bash
3538 run : |
@@ -119,4 +122,4 @@ runs:
119122 shell : bash
120123 run : |
121124 brew uninstall ${{ inputs.cask }}
122- brew untap ${{ vars.REDIS_TAP }}
125+ brew untap ${{ inputs.tap }}
Original file line number Diff line number Diff line change 6363 uses : actions/checkout@v4
6464 with :
6565 ref : ${{ inputs.release_tag == 'unstable' && 'unstable' || '' }}
66- - uses : ./.github/actions/test-binary -package
66+ - uses : ./.github/actions/test-redis -package
6767 with :
6868 redis_version : ${{ inputs.release_tag }}
69- cask : ${{ matrix.cask }}
69+ cask : ${{ matrix.cask }}
70+ tap : ${{ vars.REDIS_TAP }}
You can’t perform that action at this time.
0 commit comments