Skip to content

Commit 76e2c97

Browse files
Update GitHub actions to remove deprecated actions version (#92)
1 parent 5d3df3d commit 76e2c97

2 files changed

Lines changed: 8 additions & 9 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
name: Find Trailing Whitespace
1212
runs-on: ubuntu-20.04
1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v4
1515
- name: Find Trailing Whitespace
1616
run: |
1717
set +e
@@ -28,8 +28,7 @@ jobs:
2828
name: Generate python files from ui
2929
runs-on: ubuntu-20.04
3030
steps:
31-
- uses: actions/checkout@v2.4.0
32-
31+
- uses: actions/checkout@v4
3332
- name: Remove broken apt repos [Ubuntu]
3433
run: |
3534
for apt_file in `grep -lr microsoft /etc/apt/sources.list.d/`; do sudo rm $apt_file; done
@@ -42,7 +41,7 @@ jobs:
4241
bash ./generate-ui.sh
4342
4443
- name: Archive artifacts
45-
uses: actions/upload-artifact@v2
44+
uses: actions/upload-artifact@v4
4645
with:
4746
name: autogenerated_files
4847
path: robot_log_visualizer/ui/autogenerated
@@ -52,14 +51,14 @@ jobs:
5251
needs: [build]
5352
if: github.ref == 'refs/heads/main'
5453
steps:
55-
- uses: actions/checkout@v2.4.0
54+
- uses: actions/checkout@v4
5655

5756
- name: Download artifacts
5857
uses: actions/download-artifact@v2
5958
with:
6059
name: autogenerated_files
6160
path: robot_log_visualizer/ui/autogenerated
6261
- name: Deploy
63-
uses: stefanzweifel/git-auto-commit-action@v4
62+
uses: stefanzweifel/git-auto-commit-action@v5
6463
with:
6564
commit_message: ⚙️ Automatic update of the python UI classes

.github/workflows/pypi-ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
run: python -m build --sdist --wheel --outdir dist/ .
4141

4242
- name: Archive artifacts
43-
uses: actions/upload-artifact@v2
43+
uses: actions/upload-artifact@v4
4444
with:
4545
name: dist
4646
path: dist
@@ -54,7 +54,7 @@ jobs:
5454
steps:
5555

5656
- name: Download artifacts
57-
uses: actions/download-artifact@v2
57+
uses: actions/download-artifact@v4
5858
with:
5959
name: dist
6060
path: dist
@@ -74,7 +74,7 @@ jobs:
7474
steps:
7575

7676
- name: Download artifacts
77-
uses: actions/download-artifact@v2
77+
uses: actions/download-artifact@v4
7878
with:
7979
name: dist
8080
path: dist

0 commit comments

Comments
 (0)