Skip to content

Commit 7f86319

Browse files
committed
Update gh actions version
1 parent adfedca commit 7f86319

File tree

7 files changed

+58
-59
lines changed

7 files changed

+58
-59
lines changed

.github/workflows/build-api.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
run:
2727
working-directory: ${{ env.PACKAGE_DIR }}
2828
steps:
29-
- uses: actions/checkout@v3
29+
- uses: actions/checkout@v4
3030
with:
3131
submodules: true
3232

@@ -37,7 +37,7 @@ jobs:
3737
pip3 install build wheel
3838
python3 -m build --wheel --sdist
3939
40-
- uses: actions/upload-artifact@v3
40+
- uses: actions/upload-artifact@v4
4141
with:
4242
name: api-release
4343
path: |
@@ -52,7 +52,7 @@ jobs:
5252
id-token: write
5353
if: startsWith(github.ref, 'refs/tags/api-v')
5454
steps:
55-
- uses: actions/download-artifact@v3
55+
- uses: actions/download-artifact@v4
5656
with:
5757
name: api-release
5858
path: dist

.github/workflows/build-docs.yml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# separate terms of service, privacy policy, and support
77
# documentation.
88

9-
name: Build Docs
9+
name: Build Docs
1010

1111
on:
1212
workflow_dispatch:
@@ -45,29 +45,29 @@ jobs:
4545
runs-on: ubuntu-latest
4646

4747
steps:
48-
- uses: actions/checkout@v3
49-
with:
50-
submodules: recursive
48+
- uses: actions/checkout@v4
49+
with:
50+
submodules: recursive
5151

52-
- name: Install Package to Document
53-
run: python -m pip install ${{ inputs.package_dir }}/
52+
- name: Install Package to Document
53+
run: python -m pip install ${{ inputs.package_dir }}/
5454

55-
- name: Download ffi
56-
run: |
57-
if [[ '${{ inputs.package_name }}' = 'livekit.rtc' ]]; then
58-
pip install requests
59-
python livekit-rtc/rust-sdks/download_ffi.py --output $(python -m site --user-site)/livekit/rtc/resources
60-
fi
55+
- name: Download ffi
56+
run: |
57+
if [[ '${{ inputs.package_name }}' = 'livekit.rtc' ]]; then
58+
pip install requests
59+
python livekit-rtc/rust-sdks/download_ffi.py --output $(python -m site --user-site)/livekit/rtc/resources
60+
fi
6161
62-
- name: Install pdoc
63-
run: pip install --upgrade pdoc
62+
- name: Install pdoc
63+
run: pip install --upgrade pdoc
6464

65-
- name: Build Docs
66-
run: python -m pdoc ${{ inputs.package_name }} --docformat=google --output-dir docs
65+
- name: Build Docs
66+
run: python -m pdoc ${{ inputs.package_name }} --docformat=google --output-dir docs
6767

68-
- name: S3 Upload
69-
run: aws s3 cp docs/ s3://livekit-docs/${{ inputs.package_dir }} --recursive
70-
env:
71-
AWS_ACCESS_KEY_ID: ${{ secrets.DOCS_DEPLOY_AWS_ACCESS_KEY }}
72-
AWS_SECRET_ACCESS_KEY: ${{ secrets.DOCS_DEPLOY_AWS_API_SECRET }}
73-
AWS_DEFAULT_REGION: "us-east-1"
68+
- name: S3 Upload
69+
run: aws s3 cp docs/ s3://livekit-docs/${{ inputs.package_dir }} --recursive
70+
env:
71+
AWS_ACCESS_KEY_ID: ${{ secrets.DOCS_DEPLOY_AWS_ACCESS_KEY }}
72+
AWS_SECRET_ACCESS_KEY: ${{ secrets.DOCS_DEPLOY_AWS_API_SECRET }}
73+
AWS_DEFAULT_REGION: "us-east-1"

.github/workflows/build-protocol.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
run:
2929
working-directory: ${{ env.PACKAGE_DIR }}
3030
steps:
31-
- uses: actions/checkout@v3
31+
- uses: actions/checkout@v4
3232
with:
3333
submodules: true
3434
ref: ${{ github.event.pull_request.head.ref }}
@@ -58,7 +58,7 @@ jobs:
5858
run:
5959
working-directory: ${{ env.PACKAGE_DIR }}
6060
steps:
61-
- uses: actions/checkout@v3
61+
- uses: actions/checkout@v4
6262
with:
6363
submodules: true
6464

@@ -69,7 +69,7 @@ jobs:
6969
pip3 install build wheel
7070
python3 -m build --wheel --sdist
7171
72-
- uses: actions/upload-artifact@v3
72+
- uses: actions/upload-artifact@v4
7373
with:
7474
name: protocol-release
7575
path: |
@@ -84,7 +84,7 @@ jobs:
8484
id-token: write
8585
if: startsWith(github.ref, 'refs/tags/protocol-v')
8686
steps:
87-
- uses: actions/download-artifact@v3
87+
- uses: actions/download-artifact@v4
8888
with:
8989
name: protocol-release
9090
path: dist

.github/workflows/build-rtc.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
run:
7777
working-directory: ${{ env.PACKAGE_DIR }}
7878
steps:
79-
- uses: actions/checkout@v3
79+
- uses: actions/checkout@v4
8080
with:
8181
submodules: true
8282

@@ -85,7 +85,7 @@ jobs:
8585
- name: Install cibuildwheel
8686
if: runner.os != 'macOS'
8787
run: python3 -m pip install cibuildwheel==2.17.0
88-
88+
8989
- name: Install cibuildwheel on macOS
9090
if: runner.os == 'macOS'
9191
run: python3 -m pip install --break-system-packages cibuildwheel==2.17.0
@@ -95,7 +95,7 @@ jobs:
9595
env:
9696
CIBW_ARCHS: ${{ matrix.archs }}
9797

98-
- uses: actions/upload-artifact@v3
98+
- uses: actions/upload-artifact@v4
9999
with:
100100
name: rtc-release
101101
path: livekit-rtc/dist/*.whl
@@ -107,7 +107,7 @@ jobs:
107107
run:
108108
working-directory: ${{ env.PACKAGE_DIR }}
109109
steps:
110-
- uses: actions/checkout@v3
110+
- uses: actions/checkout@v4
111111
with:
112112
submodules: true
113113

@@ -116,7 +116,7 @@ jobs:
116116
pip3 install build
117117
python3 -m build --sdist
118118
119-
- uses: actions/upload-artifact@v3
119+
- uses: actions/upload-artifact@v4
120120
with:
121121
name: rtc-release
122122
path: livekit-rtc/dist/*.tar.gz
@@ -129,7 +129,7 @@ jobs:
129129
id-token: write
130130
if: startsWith(github.ref, 'refs/tags/rtc-v')
131131
steps:
132-
- uses: actions/download-artifact@v3
132+
- uses: actions/download-artifact@v4
133133
with:
134134
name: rtc-release
135135
path: dist

.github/workflows/check-types.yml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Check Types
1+
name: Check Types
22

33
on:
44
push:
@@ -13,23 +13,23 @@ jobs:
1313
runs-on: ubuntu-latest
1414

1515
steps:
16-
- uses: actions/checkout@v3
17-
with:
18-
submodules: recursive
19-
20-
- name: Set up Python 3.9
21-
uses: actions/setup-python@v2
22-
with:
23-
python-version: 3.9
24-
25-
- name: Download ffi
26-
run: python -m pip install requests && python livekit-rtc/rust-sdks/download_ffi.py --output $(python -m site --user-site)/livekit/rtc/resources
27-
28-
- name: Install mypy
29-
run: python -m pip install --upgrade mypy
30-
31-
- name: Install packages
32-
run: python -m pip install pytest ./livekit-api ./livekit-protocol ./livekit-rtc
33-
34-
- name: Check Types
35-
run: python -m mypy --install-type --non-interactive -p 'livekit-protocol' -p 'livekit-api' -p 'livekit-rtc'
16+
- uses: actions/checkout@v4
17+
with:
18+
submodules: recursive
19+
20+
- name: Set up Python 3.9
21+
uses: actions/setup-python@v2
22+
with:
23+
python-version: 3.9
24+
25+
- name: Download ffi
26+
run: python -m pip install requests && python livekit-rtc/rust-sdks/download_ffi.py --output $(python -m site --user-site)/livekit/rtc/resources
27+
28+
- name: Install mypy
29+
run: python -m pip install --upgrade mypy
30+
31+
- name: Install packages
32+
run: python -m pip install pytest ./livekit-api ./livekit-protocol ./livekit-rtc
33+
34+
- name: Check Types
35+
run: python -m mypy --install-type --non-interactive -p 'livekit-protocol' -p 'livekit-api' -p 'livekit-rtc'

.github/workflows/ruff.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ jobs:
44
build:
55
runs-on: ubuntu-latest
66
steps:
7-
- uses: actions/checkout@v3
7+
- uses: actions/checkout@v4
88
- uses: actions/setup-python@v4
99
with:
1010
python-version: "3.9"
@@ -19,4 +19,3 @@ jobs:
1919

2020
- name: Check format
2121
run: ruff format --check .
22-

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
name: Run tests
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@v3
17+
- uses: actions/checkout@v4
1818
with:
1919
submodules: true
2020
lfs: true

0 commit comments

Comments
 (0)