2020 run : |
2121 make linux_release
2222 - name : Upload distributions artifacts
23- uses : actions/upload-artifact@v1
23+ uses : actions/upload-artifact@v2
2424 with :
2525 name : pendulum-dist
2626 path : dist/wheelhouse
3838 run : |
3939 echo ::set-output name=tag::${GITHUB_REF#refs/tags/}
4040 - name : Set up Python ${{ matrix.python-version }}
41- uses : actions/setup-python@v1
41+ uses : actions/setup-python@v2
4242 with :
4343 python-version : ${{ matrix.python-version }}
4444 - name : Install and set up Poetry
4949 source $HOME/.poetry/env
5050 poetry build -vvv
5151 - name : Upload distribution artifacts
52- uses : actions/upload-artifact@v1
52+ uses : actions/upload-artifact@v2
5353 with :
5454 name : pendulum-dist
5555 path : dist
6868 run : |
6969 echo ::set-output name=tag::${GITHUB_REF#refs/tags/}
7070 - name : Set up Python ${{ matrix.python-version }}
71- uses : actions/setup-python@v1
71+ uses : actions/setup-python@v2
7272 with :
7373 python-version : ${{ matrix.python-version }}
7474 - name : Install and setup Poetry
7979 $env:Path += ";$env:Userprofile\.poetry\bin"
8080 poetry build -vvv
8181 - name : Upload distribution artifact
82- uses : actions/upload-artifact@v1
82+ uses : actions/upload-artifact@v2
8383 with :
8484 name : pendulum-dist
8585 path : dist
@@ -104,7 +104,7 @@ jobs:
104104 run : |
105105 curl -fsS https://install.python-poetry.org | python - --preview -y
106106 - name : Set up cache
107- uses : actions/cache@v1
107+ uses : actions/cache@v2
108108 with :
109109 path : .venv
110110 key : venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('**/poetry.lock') }}
0 commit comments