Replace deprecated github actions ::set-output (#6509)

* Replace deprecated github actions ::set-output

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Update to newer versions to remove notices

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Fix getting cache dir on windows

Signed-off-by: Sebastian Malton <sebastian@malton.name>

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton authored and GitHub committed 2022-11-04 09:25:44 -04:00
1 parent 2370928ea7
commit 918a984b3f
16 files changed
+99 -102

No files matched your search

+5 -5
View File
@@ -23,12 +23,12 @@ jobs:
python-version: "3.x"
- name: Checkout Release from lens
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Using Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
@@ -61,7 +61,7 @@ jobs:
pip install mike
- name: Checkout Release from lens
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
@@ -71,7 +71,7 @@ jobs:
git config --local user.name "GitHub Action"
- name: Using Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
@@ -88,7 +88,7 @@ jobs:
- name: Get the release version
if: contains(github.ref, 'refs/tags/v') && !github.event.release.prerelease
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
run: echo "VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_OUTPUT
- name: mkdocs deploy new release
if: contains(github.ref, 'refs/tags/v') && !github.event.release.prerelease