run apt update before installing libarchive-tools on ci

This commit is contained in:
Labhansh Agrawal 2023-06-29 12:07:02 +05:30
parent cb40ca3138
commit 632bc73053

View file

@ -42,7 +42,9 @@ jobs:
npm_config_node_gyp: ${{ github.workspace }}${{ runner.os == 'Windows' && '\node_modules\node-gyp\bin\node-gyp.js' || '/node_modules/node-gyp/bin/node-gyp.js' }} npm_config_node_gyp: ${{ github.workspace }}${{ runner.os == 'Windows' && '\node_modules\node-gyp\bin\node-gyp.js' || '/node_modules/node-gyp/bin/node-gyp.js' }}
- name: Install libarchive-tools - name: Install libarchive-tools
if: runner.os == 'Linux' if: runner.os == 'Linux'
run: sudo apt install libarchive-tools run: |
sudo apt update
sudo apt install libarchive-tools
- name: Lint and Run Unit Tests - name: Lint and Run Unit Tests
run: yarn run test run: yarn run test
- name: Getting Build Icon - name: Getting Build Icon
@ -135,6 +137,7 @@ jobs:
- name: Install - name: Install
run: | run: |
yarn install yarn install
sudo apt update
sudo apt install libarchive-tools sudo apt install libarchive-tools
- name: Compile - name: Compile
run: yarn run build run: yarn run build