Skip to content

Commit e8e7fac

Browse files
committed
feat: fetch Gammu releases from GitHub
This is the current primary release location.
1 parent e1a3d6b commit e8e7fac

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/setup.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ jobs:
3838
- "3.12"
3939
- "3.13"
4040
- "3.14"
41+
env:
42+
# renovate: datasource=github-releases depName=gammu/gammu versioning=loose
43+
GAMMU_VERSION: 1.43.2
4144

4245
steps:
4346
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
@@ -47,7 +50,7 @@ jobs:
4750
python-version: ${{ matrix.python-version }}
4851
- name: Install Gammu x64
4952
run: |
50-
C:/msys64/usr/bin/wget.exe -O gammu-setup.exe https://dl.cihar.com/gammu/releases/windows/Gammu-1.41.0-Windows-64bit.exe
53+
C:/msys64/usr/bin/wget.exe -O gammu-setup.exe https://github.com/gammu/gammu/releases/download/$Env:GAMMU_VERSION/Gammu-$Env:GAMMU_VERSION-Windows-Minimal.exe
5154
./gammu-setup.exe /S /D=C:/Gammu
5255
- uses: astral-sh/setup-uv@eac588ad8def6316056a12d4907a9d4d84ff7a3b # v7.3.0
5356
- name: build

.github/workflows/test.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ jobs:
1919
- "3.12"
2020
- "3.13"
2121
- "3.14"
22+
env:
23+
# renovate: datasource=github-releases depName=gammu/gammu versioning=loose
24+
GAMMU_VERSION: 1.43.2
2225
name: ${{ matrix.os }}, Python ${{ matrix.python-version }}
2326

2427
steps:
@@ -36,7 +39,7 @@ jobs:
3639
- name: Install Gammu
3740
if: ${{ matrix.os == 'windows-latest' }}
3841
run: |
39-
C:/msys64/usr/bin/wget.exe -O gammu-setup.exe https://dl.cihar.com/gammu/releases/windows/Gammu-1.41.0-Windows-64bit.exe
42+
C:/msys64/usr/bin/wget.exe -O gammu-setup.exe https://github.com/gammu/gammu/releases/download/$Env:GAMMU_VERSION/Gammu-$Env:GAMMU_VERSION-Windows-Minimal.exe
4043
./gammu-setup.exe /S /D=C:/Gammu
4144
- name: Install
4245
run: uv sync --all-extras --dev

0 commit comments

Comments
 (0)