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

amolina pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-cookbook.git


The following commit(s) were added to refs/heads/main by this push:
     new 3ebd1e0  [CI] Run apt update before apt install (#163)
3ebd1e0 is described below

commit 3ebd1e0e3945ff860dac5e913e3af78aff96ad8d
Author: David Li <[email protected]>
AuthorDate: Tue Mar 15 13:12:39 2022 -0400

    [CI] Run apt update before apt install (#163)
---
 .github/workflows/deploy_cookbooks.yml         | 4 +++-
 .github/workflows/test_java_linux_cookbook.yml | 7 ++++---
 .github/workflows/test_python_cookbook.yml     | 7 ++++---
 .github/workflows/test_r_cookbook.yml          | 5 +++--
 4 files changed, 14 insertions(+), 9 deletions(-)

diff --git a/.github/workflows/deploy_cookbooks.yml 
b/.github/workflows/deploy_cookbooks.yml
index 452bb0e..ff7df5d 100644
--- a/.github/workflows/deploy_cookbooks.yml
+++ b/.github/workflows/deploy_cookbooks.yml
@@ -16,7 +16,9 @@ jobs:
       - name: Setup pandoc
         uses: r-lib/actions/setup-pandoc@v1
       - name: Install dependencies
-        run: sudo apt install libcurl4-openssl-dev libssl-dev python3-pip 
openjdk-11-jdk maven
+        run: |
+          sudo apt update
+          sudo apt install libcurl4-openssl-dev libssl-dev python3-pip 
openjdk-11-jdk maven
       - name: Run tests
         run: make test
       - name: Build and render books
diff --git a/.github/workflows/test_java_linux_cookbook.yml 
b/.github/workflows/test_java_linux_cookbook.yml
index 09a8dcd..da00496 100644
--- a/.github/workflows/test_java_linux_cookbook.yml
+++ b/.github/workflows/test_java_linux_cookbook.yml
@@ -24,7 +24,7 @@ on:
     paths:
      - "java/**"
      - ".github/workflows/test_java_linux_cookbook.yml"
-     
+
 concurrency:
   group: ${{ github.repository }}-${{ github.ref }}-${{ github.workflow }}
   cancel-in-progress: true
@@ -40,9 +40,10 @@ jobs:
           distribution: 'temurin'
           java-version: '11'
       - name: Install dependencies
-        run: sudo apt install libcurl4-openssl-dev libssl-dev python3-pip maven
+        run: |
+          sudo apt update
+          sudo apt install libcurl4-openssl-dev libssl-dev python3-pip maven
       - name: Run tests
         run: make javatest
       - name: Build cookbook
         run: make java
-
diff --git a/.github/workflows/test_python_cookbook.yml 
b/.github/workflows/test_python_cookbook.yml
index b8ac338..6aa0d67 100644
--- a/.github/workflows/test_python_cookbook.yml
+++ b/.github/workflows/test_python_cookbook.yml
@@ -24,7 +24,7 @@ on:
     paths:
      - "python/**"
      - ".github/workflows/test_python_cookbook.yml"
-     
+
 concurrency:
   group: ${{ github.repository }}-${{ github.ref }}-${{ github.workflow }}
   cancel-in-progress: true
@@ -36,9 +36,10 @@ jobs:
     steps:
       - uses: actions/checkout@v1
       - name: Install dependencies
-        run: sudo apt install libcurl4-openssl-dev libssl-dev python3-pip
+        run: |
+          sudo apt update
+          sudo apt install libcurl4-openssl-dev libssl-dev python3-pip
       - name: Run tests
         run: make pytest
       - name: Build cookbook
         run: make py
-
diff --git a/.github/workflows/test_r_cookbook.yml 
b/.github/workflows/test_r_cookbook.yml
index af1ac3a..326e021 100644
--- a/.github/workflows/test_r_cookbook.yml
+++ b/.github/workflows/test_r_cookbook.yml
@@ -40,9 +40,10 @@ jobs:
       - name: Setup pandoc
         uses: r-lib/actions/setup-pandoc@v1
       - name: Install dependencies
-        run: sudo apt install libcurl4-openssl-dev libssl-dev
+        run: |
+          sudo apt update
+          sudo apt install libcurl4-openssl-dev libssl-dev
       - name: Run tests
         run: make rtest
       - name: Build cookbooks
         run: make r
-

Reply via email to