From b001fcab6221e3bff24054460ca7e2dee9d110e6 Mon Sep 17 00:00:00 2001 From: kimci86 Date: Mon, 5 Feb 2024 22:37:07 +0100 Subject: [PATCH] Avoid deprecated workflow step output The same can be achieved in a simpler way. The removed step was triggering the following warning. The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ --- .github/workflows/ci.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 270f466..0cc6b1d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -52,14 +52,10 @@ jobs: name: packages path: packages - - name: Get tag name - id: get_tag_name - run: echo ::set-output name=tag::${GITHUB_REF#refs/*/} - - name: Create release uses: softprops/action-gh-release@v1 with: - name: Release ${{ steps.get_tag_name.outputs.tag }} + name: Release ${{ github.ref_name }} files: packages/* env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}