From 9553e87b10dbf6ee0a83b1d94ff525412995e9f6 Mon Sep 17 00:00:00 2001 From: German <28149841+germa89@users.noreply.github.com> Date: Wed, 2 Nov 2022 13:01:19 +0100 Subject: [PATCH] Removing github deprecation warnings (#1576) * Using main for zip action * removing old line * Format issue. --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dca86fdce7..1dc6888cb4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -96,7 +96,7 @@ jobs: - name: Retrieve PyMAPDL version run: | - echo "::set-output name=PYMAPDL_VERSION::$(python -c "from ansys.mapdl.core import __version__; print(__version__)")" + echo "{PYMAPDL_VERSION}={$(python -c 'from ansys.mapdl.core import __version__; print(__version__)')}" >> $GITHUB_OUTPUT echo "PyMAPDL version is: $(python -c "from ansys.mapdl.core import __version__; print(__version__)")" id: version @@ -104,7 +104,7 @@ jobs: run: pip wheel . -w wheelhouse - name: Zip wheelhouse - uses: vimtor/action-zip@v1 + uses: vimtor/action-zip@master with: files: wheelhouse dest: ${{ env.PACKAGE_NAME }}-v${{ steps.version.outputs.PYMAPDL_VERSION }}-wheelhouse-${{ runner.os }}-${{ matrix.python-version }}.zip @@ -177,7 +177,7 @@ jobs: - name: Retrieve PyMAPDL version run: | - echo "::set-output name=PYMAPDL_VERSION::$(python -c "from ansys.mapdl.core import __version__; print(__version__)")" + echo "{PYMAPDL_VERSION}={$(python -c 'from ansys.mapdl.core import __version__; print(__version__)')}" >> $GITHUB_OUTPUT echo "PyMAPDL version is: $(python -c "from ansys.mapdl.core import __version__; print(__version__)")" id: version