Skip to content

Commit 249f3f5

Browse files
Merge release_automation into 8.4-rc1 (bot)
2 parents 2a72cf8 + 6329930 commit 249f3f5

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

.github/actions/test-redis-package/action.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ inputs:
88
cask:
99
description: 'Cask to test'
1010
required: true
11+
tap:
12+
description: 'Tap to test'
13+
required: true
1114

1215
runs:
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 }}

.github/workflows/build-n-test.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ jobs:
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 }}

0 commit comments

Comments
 (0)