From 9e7ee2cb70ce928a11f2704cb415ff620ec31045 Mon Sep 17 00:00:00 2001 From: Andrea Ostuni Date: Fri, 5 Jan 2024 11:41:32 +0100 Subject: [PATCH] fix python version on CICD --- .github/workflows/cicd.yml | 18 +++++++++--------- setup.cfg | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index 8a2a05e4..84e401a7 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -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 @@ -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 }} @@ -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') || @@ -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/* @@ -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 @@ -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 @@ -445,7 +445,7 @@ jobs: # =============== - name: '⬇️ Download scenario wheels' - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: path: dist name: dist @@ -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 @@ -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 diff --git a/setup.cfg b/setup.cfg index ff7939e5..08ceeba3 100644 --- a/setup.cfg +++ b/setup.cfg @@ -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