You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@answer.apache.org by li...@apache.org on 2024/07/15 09:33:04 UTC

(incubator-answer-plugins) 02/03: chore: Update yq installation method to use snap

This is an automated email from the ASF dual-hosted git repository.

linkinstar pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-answer-plugins.git

commit 13c05c0a95fa21676eabb4676d8ea3bcbe81a6c4
Author: robin <ro...@rnode.me>
AuthorDate: Mon Jul 15 15:40:07 2024 +0800

    chore: Update yq installation method to use snap
---
 .github/workflows/sync-info.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/sync-info.yml b/.github/workflows/sync-info.yml
index 3c50f6e..93fa97d 100644
--- a/.github/workflows/sync-info.yml
+++ b/.github/workflows/sync-info.yml
@@ -32,7 +32,8 @@ jobs:
       - name: Install jq
         run: sudo apt-get install jq
       - name: Install yq
-        run: sudo apt-get install yq
+        run: sudo snap install yq
+
 
       - name: Run script
         run: script/sync-info.sh