Ver Fonte

ci: refactor deprecated usages of set-output command

Nicolas Meienberger há 2 anos atrás
pai
commit
716b368f31

+ 1 - 1
.github/workflows/ci.yml

@@ -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

+ 1 - 1
.github/workflows/release-candidate.yml

@@ -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

+ 1 - 3
.github/workflows/release.yml

@@ -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
-
-