Skip to content

Commit 4bee433

Browse files
authored
Merge pull request #29 from bordeux/fix/fix-triggers
fix: fix triggers, build on older ubuntu version
2 parents db3f48f + 18cf9ab commit 4bee433

2 files changed

Lines changed: 4 additions & 9 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ jobs:
175175

176176
build-packages:
177177
name: Build Packages (DEB/RPM/APK)
178-
runs-on: ubuntu-latest
178+
runs-on: ubuntu-22.04
179179
steps:
180180
- name: Checkout code
181181
uses: actions/checkout@v4

.github/workflows/release.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
matrix:
7272
include:
7373
- target: x86_64-unknown-linux-gnu
74-
os: ubuntu-latest
74+
os: ubuntu-22.04
7575
artifact_name: tmpltool
7676
asset_name: tmpltool-linux-x86_64
7777
deb_arch: amd64
@@ -90,7 +90,7 @@ jobs:
9090
apk_arch: aarch64
9191

9292
- target: aarch64-unknown-linux-gnu
93-
os: ubuntu-latest
93+
os: ubuntu-22.04
9494
artifact_name: tmpltool
9595
asset_name: tmpltool-linux-aarch64
9696
deb_arch: arm64
@@ -342,23 +342,18 @@ jobs:
342342
include:
343343
- name: Homebrew
344344
repo: bordeux/homebrew-tap
345-
workflow: update-formulas.yml
346345
token_env: HOMEBREW_TAP_TOKEN
347346
- name: APT Repository
348347
repo: bordeux/apt-repo
349-
workflow: update-repo.yml
350348
token_env: APT_REPO_TOKEN
351349
- name: APK Repository
352350
repo: bordeux/apk-repo
353-
workflow: update-repo.yml
354351
token_env: APK_REPO_TOKEN
355352
- name: RPM Repository
356353
repo: bordeux/rpm-repo
357-
workflow: update-repo.yml
358354
token_env: RPM_REPO_TOKEN
359355
- name: ARCH Repository
360356
repo: bordeux/arch-repo
361-
workflow: update-repo.yml
362357
token_env: ARCH_REPO_TOKEN
363358
steps:
364359
- name: Trigger ${{ matrix.name }} workflow
@@ -374,5 +369,5 @@ jobs:
374369
curl -X POST \
375370
-H "Authorization: token $TOKEN" \
376371
-H "Accept: application/vnd.github.v3+json" \
377-
"https://api.github.com/repos/${{ matrix.repo }}/actions/workflows/${{ matrix.workflow }}/dispatches" \
372+
"https://api.github.com/repos/${{ matrix.repo }}/actions/workflows/update-repo.yml/dispatches" \
378373
-d '{"ref":"master","inputs":{"project":"bordeux/tmpltool"}}'

0 commit comments

Comments
 (0)