ci: refactor deprecated usages of set-output command

This commit is contained in:
Nicolas Meienberger 2023-05-31 08:38:35 +02:00
parent 4f25886ae0
commit 716b368f31
3 changed files with 3 additions and 5 deletions

View file

@ -48,7 +48,7 @@ jobs:
- name: Get pnpm store directory
id: pnpm-cache
run: |
echo "::set-output name=pnpm_cache_dir::$(pnpm store path)"
echo "pnpm_cache_dir=$(pnpm store path)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
name: Setup pnpm cache

View file

@ -31,7 +31,7 @@ jobs:
run: |
VERSION=$(npm run version --silent)
TAG=${VERSION}
echo "::set-output name=tag::${TAG}"
echo "tag=${TAG}" >> $GITHUB_OUTPUT
- name: Build and push images
uses: docker/build-push-action@v4

View file

@ -27,7 +27,7 @@ jobs:
run: |
VERSION=$(npm run version --silent)
TAG=${VERSION}
echo "::set-output name=tag::${TAG}"
echo "tag=${TAG}" >> $GITHUB_OUTPUT
- name: Build and push images
uses: docker/build-push-action@v4
@ -58,5 +58,3 @@ jobs:
release_name: ${{ steps.create_tag.outputs.tagname }}
draft: false
prerelease: false