Skip to content

Commit

Permalink
fix python version on CICD
Browse files Browse the repository at this point in the history
  • Loading branch information
andreaostuni committed Jan 5, 2024
1 parent e283126 commit 9e7ee2c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
python-version: '3.10'

- name: '🚚 Compilation cache'
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ${{ env.CCACHE_DIR }}
# We include the commit sha in the cache key, as new cache entries are
Expand Down Expand Up @@ -112,7 +112,7 @@ jobs:
- name: '📦️ Compress the workspace'
run: tar -I lz4 -cf /tmp/workspace_install.tar.lz4 /workspace/install
- name: '⬆️ Upload the workspace'
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
path: /tmp/workspace_install.tar.lz4
name: workspace-${{ matrix.gazebo }}
Expand Down Expand Up @@ -194,7 +194,7 @@ jobs:
run: sudo apt-get install -y --no-install-recommends gz-${{ matrix.gazebo }}

- name: '[🧪|nightly] Download pre-built colcon workspace'
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
if: |
contains(matrix.os, 'ubuntu') && (
(github.event_name == 'push' && github.ref != 'refs/heads/master') ||
Expand Down Expand Up @@ -334,7 +334,7 @@ jobs:
run: ls -lah dist/

- name: '⬆️ Upload artifacts'
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
if: matrix.type == 'User' && matrix.gazebo == 'gardern'
with:
path: dist/*
Expand Down Expand Up @@ -374,7 +374,7 @@ jobs:
git diff
- name: '⬆️ Upload website folder'
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
if: matrix.type == 'User' && matrix.gazebo == 'garden' && contains(matrix.os, 'ubuntu')
with:
path: build/html
Expand All @@ -391,7 +391,7 @@ jobs:
steps:

- name: '⬇️ Download website folder'
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
path: build/html
name: website
Expand Down Expand Up @@ -445,7 +445,7 @@ jobs:
# ===============

- name: '⬇️ Download scenario wheels'
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
path: dist
name: dist
Expand Down Expand Up @@ -484,7 +484,7 @@ jobs:
run: ls -lah dist/

- name: '⬆️ Upload artifacts'
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
path: dist/*
name: dist
Expand All @@ -510,7 +510,7 @@ jobs:
run: git fetch --prune --unshallow

- name: '⬇️ Download Python packages'
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
path: dist
name: dist
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ package_dir =
=python
python_requires = >=3.8
install_requires =
scenario >= 0.1.dev1608+dirty
scenario >= 1.3.2.dev
gymnasium >= 0.26.0
numpy
scipy
Expand Down

0 comments on commit 9e7ee2c

Please sign in to comment.