Skip to content

Commit

Permalink
Update GitHub actions to remove deprecated actions version (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
GiulioRomualdi authored Dec 18, 2024
1 parent 5d3df3d commit 76e2c97
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
name: Find Trailing Whitespace
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Find Trailing Whitespace
run: |
set +e
Expand All @@ -28,8 +28,7 @@ jobs:
name: Generate python files from ui
runs-on: ubuntu-20.04
steps:
- uses: actions/[email protected]

- uses: actions/checkout@v4
- name: Remove broken apt repos [Ubuntu]
run: |
for apt_file in `grep -lr microsoft /etc/apt/sources.list.d/`; do sudo rm $apt_file; done
Expand All @@ -42,7 +41,7 @@ jobs:
bash ./generate-ui.sh
- name: Archive artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: autogenerated_files
path: robot_log_visualizer/ui/autogenerated
Expand All @@ -52,14 +51,14 @@ jobs:
needs: [build]
if: github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v2.4.0
- uses: actions/checkout@v4

- name: Download artifacts
uses: actions/download-artifact@v2
with:
name: autogenerated_files
path: robot_log_visualizer/ui/autogenerated
- name: Deploy
uses: stefanzweifel/git-auto-commit-action@v4
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: ⚙️ Automatic update of the python UI classes
6 changes: 3 additions & 3 deletions .github/workflows/pypi-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
run: python -m build --sdist --wheel --outdir dist/ .

- name: Archive artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: dist
path: dist
Expand All @@ -54,7 +54,7 @@ jobs:
steps:

- name: Download artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: dist
path: dist
Expand All @@ -74,7 +74,7 @@ jobs:
steps:

- name: Download artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: dist
path: dist
Expand Down

0 comments on commit 76e2c97

Please sign in to comment.