|
1 | | -name: Update Winget Package |
| 1 | +# DISABLED: This is a fork and should not update the upstream Winget package |
| 2 | +# name: Update Winget Package |
2 | 3 |
|
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 |
7 | 8 |
|
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 |
12 | 14 |
|
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 |
16 | 18 |
|
17 | | - - name: Install komac |
18 | | - run: | |
19 | | - cargo binstall [email protected] -y |
| 19 | +# - name: Install komac |
| 20 | +# run: | |
| 21 | +# cargo binstall [email protected] -y |
20 | 22 |
|
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; |
32 | 34 |
|
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