From adcb98541ec03d237bad6daee36314fa7a0635bd Mon Sep 17 00:00:00 2001 From: mustard-mh Date: Tue, 18 Jun 2024 18:46:46 +0000 Subject: [PATCH] [gha] add `oci-tool` to fix code updates errors --- .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