From 48e381d702ef7149000c59dbcd210d1e075e8204 Mon Sep 17 00:00:00 2001 From: Sabe Jones Date: Mon, 12 Aug 2024 17:36:01 -0500 Subject: [PATCH] fix(CI): force apt update before fetching libkrb5-dev --- .github/workflows/test.yml | 30 ++++++++++++++++++++---------- 1 file changed, 20 insertions(+), 10 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7942986fd2..500d14fb7a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -19,7 +19,8 @@ jobs: uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - - run: sudo apt-get -y install libkrb5-dev + - run: sudo apt update + - run: sudo apt -y install libkrb5-dev - run: cp config.json.example config.json - name: npm install run: | @@ -41,7 +42,8 @@ jobs: uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - - run: sudo apt-get -y install libkrb5-dev + - run: sudo apt update + - run: sudo apt -y install libkrb5-dev - run: cp config.json.example config.json - name: npm install run: | @@ -63,7 +65,8 @@ jobs: uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - - run: sudo apt-get -y install libkrb5-dev + - run: sudo apt update + - run: sudo apt -y install libkrb5-dev - run: cp config.json.example config.json - name: npm install run: | @@ -86,7 +89,8 @@ jobs: uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - - run: sudo apt-get -y install libkrb5-dev + - run: sudo apt update + - run: sudo apt -y install libkrb5-dev - run: cp config.json.example config.json - name: npm install run: | @@ -108,7 +112,8 @@ jobs: uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - - run: sudo apt-get -y install libkrb5-dev + - run: sudo apt update + - run: sudo apt -y install libkrb5-dev - run: cp config.json.example config.json - name: npm install run: | @@ -137,7 +142,8 @@ jobs: with: mongodb-version: ${{ matrix.mongodb-version }} mongodb-replica-set: rs - - run: sudo apt-get -y install libkrb5-dev + - run: sudo apt update + - run: sudo apt -y install libkrb5-dev - run: cp config.json.example config.json - name: npm install run: | @@ -167,7 +173,8 @@ jobs: with: mongodb-version: ${{ matrix.mongodb-version }} mongodb-replica-set: rs - - run: sudo apt-get -y install libkrb5-dev + - run: sudo apt update + - run: sudo apt -y install libkrb5-dev - run: cp config.json.example config.json - name: npm install run: | @@ -197,7 +204,8 @@ jobs: with: mongodb-version: ${{ matrix.mongodb-version }} mongodb-replica-set: rs - - run: sudo apt-get -y install libkrb5-dev + - run: sudo apt update + - run: sudo apt -y install libkrb5-dev - run: cp config.json.example config.json - name: npm install run: | @@ -222,7 +230,8 @@ jobs: uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - - run: sudo apt-get -y install libkrb5-dev + - run: sudo apt update + - run: sudo apt -y install libkrb5-dev - run: cp config.json.example config.json - name: npm install run: | @@ -246,7 +255,8 @@ jobs: uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - - run: sudo apt-get -y install libkrb5-dev + - run: sudo apt update + - run: sudo apt -y install libkrb5-dev - run: cp config.json.example config.json - name: npm install run: |