From 39d1fff1976a163de75287f57dcaad3f2ad9dcae Mon Sep 17 00:00:00 2001 From: Huiwen Date: Wed, 19 Jun 2024 03:03:13 +0800 Subject: [PATCH] [gha] add `oci-tool` to fix code updates errors (#19928) --- .github/workflows/code-build.yaml | 2 ++ .github/workflows/code-updates.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/code-build.yaml b/.github/workflows/code-build.yaml index ed2619a2b7d75e..2011c41c0414d7 100644 --- a/.github/workflows/code-build.yaml +++ b/.github/workflows/code-build.yaml @@ -13,6 +13,8 @@ jobs: - uses: actions/checkout@v4 - name: Install dependencies run: | + curl -fsSL https://github.com/csweichel/oci-tool/releases/download/v0.2.1/oci-tool_0.2.1_linux_amd64.tar.gz | tar xz -C /usr/local/bin + chmod +x /usr/local/bin/oci-tool cd ./components/ide/gha-update-image/ yarn npm i -g bun diff --git a/.github/workflows/code-updates.yml b/.github/workflows/code-updates.yml index 56ed3a2a538d7c..3386afa1a2a12d 100644 --- a/.github/workflows/code-updates.yml +++ b/.github/workflows/code-updates.yml @@ -10,6 +10,8 @@ jobs: - uses: actions/checkout@v4 - name: Install dependencies run: | + curl -fsSL https://github.com/csweichel/oci-tool/releases/download/v0.2.1/oci-tool_0.2.1_linux_amd64.tar.gz | tar xz -C /usr/local/bin + chmod +x /usr/local/bin/oci-tool cd ./components/ide/gha-update-image/ yarn npm i -g bun