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

potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow-site.git


The following commit(s) were added to refs/heads/main by this push:
     new 31c2ffc906 Install GH tool (#880)
31c2ffc906 is described below

commit 31c2ffc906395417fd644e5e61c3db755023c027
Author: Jarek Potiuk <[email protected]>
AuthorDate: Sun Oct 22 23:39:37 2023 +0200

    Install GH tool (#880)
---
 .github/workflows/build.yml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index e30a6f7570..b770f705ff 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -33,6 +33,14 @@ jobs:
           sudo rm -rf /opt/ghc
           sudo rm -rf "/usr/local/share/boost"
           sudo rm -rf "$AGENT_TOOLSDIRECTORY"
+      - name: 🟢 Install stuff we need
+        run: |
+          type -p curl >/dev/null || (sudo apt update && sudo apt install curl 
-y)
+          curl -fsSL 
https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd 
of=/usr/share/keyrings/githubcli-archive-keyring.gpg \
+          && sudo chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg 
\
+          && echo "deb [arch=$(dpkg --print-architecture) 
signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] 
https://cli.github.com/packages stable main" | sudo tee 
/etc/apt/sources.list.d/github-cli.list > /dev/null \
+          && sudo apt update \
+          && sudo apt install gh -y
       - name: 🗂 Checkout
         uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9  # 
v3.5.3
         with:

Reply via email to