Skip to content

Commit

Permalink
Fix deprecated command
Browse files Browse the repository at this point in the history
  • Loading branch information
mrgeneralgoo committed Jan 24, 2024
1 parent 1076a2d commit 5ffc4be
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: Release
on:
push:
branches: [ 2.0 ]
# tags:
# - '*'
tags:
- '*'

jobs:
build:
Expand Down Expand Up @@ -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
Expand All @@ -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 }})
**Full Changelog**: https://github.com/mrgeneralgoo/typecho-markdown/compare/${{ steps.get_latest_release.outputs.VERSION }}...${{ github.ref }})

0 comments on commit 5ffc4be

Please sign in to comment.