Skip to content

Commit c13c4b8

Browse files
committed
fix workflows
1 parent 585c3b4 commit c13c4b8

2 files changed

Lines changed: 18 additions & 18 deletions

File tree

.github/workflows/c-cpp.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
steps:
2222
- name: nodejs
2323
run: |
24-
apt-get install -y wget xz-utils
24+
apt-get update && apt-get install -y wget xz-utils
2525
wget https://unofficial-builds.nodejs.org/download/release/v20.9.0/node-v20.9.0-linux-x64-glibc-217.tar.xz
2626
tar -xf node-v20.9.0-linux-x64-glibc-217.tar.xz --strip-components 1 -C /node20217
2727
- uses: actions/checkout@v2
@@ -44,7 +44,7 @@ jobs:
4444
steps:
4545
- name: nodejs
4646
run: |
47-
apt-get install -y wget xz-utils
47+
apt-get update && apt-get install -y wget xz-utils
4848
wget https://unofficial-builds.nodejs.org/download/release/v20.9.0/node-v20.9.0-linux-x64-glibc-217.tar.xz
4949
tar -xf node-v20.9.0-linux-x64-glibc-217.tar.xz --strip-components 1 -C /node20217
5050
- uses: actions/checkout@v2
@@ -65,7 +65,7 @@ jobs:
6565
steps:
6666
- name: nodejs
6767
run: |
68-
apt-get install -y wget xz-utils
68+
apt-get update && apt-get install -y wget xz-utils
6969
wget https://unofficial-builds.nodejs.org/download/release/v20.9.0/node-v20.9.0-linux-x64-glibc-217.tar.xz
7070
tar -xf node-v20.9.0-linux-x64-glibc-217.tar.xz --strip-components 1 -C /node20217
7171
- uses: actions/checkout@v2
@@ -84,7 +84,7 @@ jobs:
8484
steps:
8585
- name: nodejs
8686
run: |
87-
apt-get install -y wget xz-utils
87+
apt-get update && apt-get install -y wget xz-utils
8888
wget https://unofficial-builds.nodejs.org/download/release/v20.9.0/node-v20.9.0-linux-x64-glibc-217.tar.xz
8989
tar -xf node-v20.9.0-linux-x64-glibc-217.tar.xz --strip-components 1 -C /node20217
9090
- uses: actions/checkout@v2
@@ -109,7 +109,7 @@ jobs:
109109
steps:
110110
- name: nodejs
111111
run: |
112-
apt-get install -y wget xz-utils
112+
apt-get update && apt-get install -y wget xz-utils
113113
wget https://unofficial-builds.nodejs.org/download/release/v20.9.0/node-v20.9.0-linux-x64-glibc-217.tar.xz
114114
tar -xf node-v20.9.0-linux-x64-glibc-217.tar.xz --strip-components 1 -C /node20217
115115
- uses: actions/checkout@v2
@@ -203,16 +203,16 @@ jobs:
203203
# - name: examples
204204
# run: make examples
205205
os_x_13:
206-
name: OSX 13
207-
runs-on: macos-13
208-
steps:
209-
- uses: actions/checkout@v2
210-
- name: build
211-
run: make -j8
212-
- name: test
213-
run: make test
214-
- name: examples
215-
run: make examples
206+
name: OSX 13
207+
runs-on: macos-13
208+
steps:
209+
- uses: actions/checkout@v2
210+
- name: build
211+
run: make -j8
212+
- name: test
213+
run: make test
214+
- name: examples
215+
run: make examples
216216
os_x_13_zstd:
217217
name: OSX 13 zstd
218218
runs-on: macos-13

.github/workflows/python.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
steps:
2222
- name: nodejs
2323
run: |
24-
apt-get install -y wget xz-utils
24+
apt-get update && apt-get install -y wget xz-utils
2525
wget https://unofficial-builds.nodejs.org/download/release/v20.9.0/node-v20.9.0-linux-x64-glibc-217.tar.xz
2626
tar -xf node-v20.9.0-linux-x64-glibc-217.tar.xz --strip-components 1 -C /node20217
2727
- uses: actions/checkout@v2
@@ -44,7 +44,7 @@ jobs:
4444
steps:
4545
- name: nodejs
4646
run: |
47-
apt-get install -y wget xz-utils
47+
apt-get update && apt-get install -y wget xz-utils
4848
wget https://unofficial-builds.nodejs.org/download/release/v20.9.0/node-v20.9.0-linux-x64-glibc-217.tar.xz
4949
tar -xf node-v20.9.0-linux-x64-glibc-217.tar.xz --strip-components 1 -C /node20217
5050
- uses: actions/checkout@v2
@@ -67,7 +67,7 @@ jobs:
6767
steps:
6868
- name: nodejs
6969
run: |
70-
apt-get install -y wget xz-utils
70+
apt-get update && apt-get install -y wget xz-utils
7171
wget https://unofficial-builds.nodejs.org/download/release/v20.9.0/node-v20.9.0-linux-x64-glibc-217.tar.xz
7272
tar -xf node-v20.9.0-linux-x64-glibc-217.tar.xz --strip-components 1 -C /node20217
7373
- uses: actions/checkout@v2

0 commit comments

Comments
 (0)