Skip to content

Commit 53be1ed

Browse files
author
Your Name
committed
fix: disable Winget update workflow
This workflow was failing because: 1. COG-GTM/llama.cpp has no releases 2. Fork should not update upstream ggml.llamacpp Winget package 3. Workflow was trying to find releases in wrong repository Disabled the workflow to prevent failures. If Winget updates are needed, they should be handled by the upstream ggml-org/llama.cpp repository.
1 parent 2a03035 commit 53be1ed

File tree

1 file changed

+38
-36
lines changed

1 file changed

+38
-36
lines changed

.github/workflows/winget.yml

Lines changed: 38 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,44 @@
1-
name: Update Winget Package
1+
# DISABLED: This is a fork and should not update the upstream Winget package
2+
# name: Update Winget Package
23

3-
on:
4-
workflow_dispatch: # allows manual triggering
5-
schedule:
6-
- cron: '28 5 * * *' # Update every day at 5:28 UTC
4+
# on:
5+
# workflow_dispatch: # allows manual triggering
6+
# schedule:
7+
# - cron: '28 5 * * *' # Update every day at 5:28 UTC
78

8-
jobs:
9-
update:
10-
name: Update Winget Package
11-
runs-on: ubuntu-latest
9+
# jobs:
10+
# update:
11+
# name: Update Winget Package
12+
# runs-on: ubuntu-latest
13+
# if: false # Disable this workflow
1214

13-
steps:
14-
- name: Install cargo binstall
15-
uses: cargo-bins/cargo-binstall@268643a6b5ea099f5718ee5cd3ff7dc89a5eb49b
15+
# steps:
16+
# - name: Install cargo binstall
17+
# uses: cargo-bins/cargo-binstall@268643a6b5ea099f5718ee5cd3ff7dc89a5eb49b
1618

17-
- name: Install komac
18-
run: |
19-
cargo binstall [email protected] -y
19+
# - name: Install komac
20+
# run: |
21+
# cargo binstall [email protected] -y
2022

21-
- name: Find latest release
22-
id: find_latest_release
23-
uses: actions/github-script@v6
24-
with:
25-
script: |
26-
const { data: releases } = await github.rest.repos.listReleases({
27-
owner: context.repo.owner,
28-
repo: context.repo.repo,
29-
});
30-
console.log("Latest release:", releases[0].tag_name);
31-
return releases[0].tag_name;
23+
# - name: Find latest release
24+
# id: find_latest_release
25+
# uses: actions/github-script@v6
26+
# with:
27+
# script: |
28+
# const { data: releases } = await github.rest.repos.listReleases({
29+
# owner: context.repo.owner,
30+
# repo: context.repo.repo,
31+
# });
32+
# console.log("Latest release:", releases[0].tag_name);
33+
# return releases[0].tag_name;
3234

33-
- name: Update manifest
34-
env:
35-
VERSION: ${{ steps.find_latest_release.outputs.result }}
36-
run: |
37-
echo "Updating manifest..."
38-
komac update --version ${{ env.VERSION }} \
39-
--urls "https://github.com/ggml-org/llama.cpp/releases/download/${{ env.VERSION }}/llama-${{ env.VERSION }}-bin-win-vulkan-x64.zip" \
40-
--token ${{ secrets.WINGET_GITHUB_TOKEN }} \
41-
--submit \
42-
ggml.llamacpp
35+
# - name: Update manifest
36+
# env:
37+
# VERSION: ${{ steps.find_latest_release.outputs.result }}
38+
# run: |
39+
# echo "Updating manifest..."
40+
# komac update --version ${{ env.VERSION }} \
41+
# --urls "https://github.com/ggml-org/llama.cpp/releases/download/${{ env.VERSION }}/llama-${{ env.VERSION }}-bin-win-vulkan-x64.zip" \
42+
# --token ${{ secrets.WINGET_GITHUB_TOKEN }} \
43+
# --submit \
44+
# ggml.llamacpp

0 commit comments

Comments
 (0)