Skip to content

Commit

Permalink
Avoid deprecated workflow step output
Browse files Browse the repository at this point in the history
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/
  • Loading branch information
kimci86 committed Feb 5, 2024
1 parent 3db66a8 commit b001fca
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit b001fca

Please sign in to comment.