Skip to content

Commit b9af972

Browse files
committed
Use libmongocrypt release apt channel instead of version-specific channel
1 parent fea0200 commit b9af972

2 files changed

Lines changed: 1 addition & 11 deletions

File tree

.github/actions/linux/build-libmongocrypt/action.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
name: "Build libmongocrypt"
22
description: "Installs libmongocrypt"
3-
inputs:
4-
version:
5-
description: "Libmongocrypt version to install (major.minor)"
6-
required: true
73
runs:
84
using: composite
95

@@ -15,9 +11,7 @@ runs:
1511
- name: Add repository
1612
shell: bash
1713
working-directory: /tmp
18-
run: echo "deb https://libmongocrypt.s3.amazonaws.com/apt/ubuntu noble/libmongocrypt/${LIBMONGOCRYPT_VERSION} universe" | sudo tee /etc/apt/sources.list.d/libmongocrypt.list
19-
env:
20-
LIBMONGOCRYPT_VERSION: ${{ inputs.version }}
14+
run: echo "deb https://libmongocrypt.s3.amazonaws.com/apt/ubuntu noble/libmongocrypt/release universe" | sudo tee /etc/apt/sources.list.d/libmongocrypt.list
2115

2216
- name: Update apt sources
2317
shell: bash

.github/workflows/tests.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,6 @@ jobs:
179179
runs-on: "ubuntu-latest"
180180
env:
181181
PHP_VERSION: "8.3"
182-
# Note: omit the patch version when referring to the libmongocrypt package
183-
LIBMONGOCRYPT_VERSION: "1.17"
184182
# Note: include the patch version when referring to a libmongoc release tarball
185183
LIBMONGOC_VERSION: "2.3.0"
186184
SERVER_VERSION: "8.0"
@@ -193,8 +191,6 @@ jobs:
193191

194192
- name: "Install libmongocrypt"
195193
uses: ./.github/actions/linux/build-libmongocrypt
196-
with:
197-
version: ${{ env.LIBMONGOCRYPT_VERSION }}
198194

199195
- name: "Build libmongoc"
200196
uses: ./.github/actions/linux/build-libmongoc

0 commit comments

Comments
 (0)