From 5ffc4be7607f1a23aeec97ac556c7d0447ab0a7b Mon Sep 17 00:00:00 2001 From: mrgeneralgoo Date: Wed, 24 Jan 2024 21:38:48 +0800 Subject: [PATCH] Fix deprecated command --- .github/workflows/release.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7085d6e..ad7b69b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,8 +3,8 @@ name: Release on: push: branches: [ 2.0 ] - # tags: - # - '*' + tags: + - '*' jobs: build: @@ -45,7 +45,7 @@ jobs: - name: Get Latest Release Version id: get_latest_release - run: echo "::set-output name=version::$(curl -s https://api.github.com/repos/mrgeneralgoo/typecho-markdown/releases/latest | jq -r .tag_name)" + run: echo "VERSION=$(curl -s https://api.github.com/repos/mrgeneralgoo/typecho-markdown/releases/latest | jq -r .tag_name)" >> $GITHUB_OUTPUT - name: Create Release uses: ncipollo/release-action@v1 @@ -54,4 +54,4 @@ jobs: tag: ${{ github.ref }} artifacts: "MarkdownParse.zip" body: | - **Full Changelog**: https://github.com/mrgeneralgoo/typecho-markdown/compare/${{ steps.get_latest_release.outputs.version }}...${{ github.ref }}) \ No newline at end of file + **Full Changelog**: https://github.com/mrgeneralgoo/typecho-markdown/compare/${{ steps.get_latest_release.outputs.VERSION }}...${{ github.ref }}) \ No newline at end of file