Skip to content

Commit

Permalink
ci: update workflows config.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Jun 11, 2024
1 parent 2ccf78c commit ef6b23f
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -306,10 +306,17 @@ jobs:
filter-author: (小弟调调™)
filter: (^[\s]+?[R|r]elease)|(^[R|r]elease)

- name: Get the tag
id: get_tag
run: echo "TAG_NAME=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV

- name: Create Release
uses: ncipollo/release-action@v1
uses: jaywcjlove/create-tag-action@main
with:
token: ${{ secrets.GITHUB_TOKEN }}
release: true
prerelease: false
version: "${{ env.TAG_NAME }}"
draft: false
body: |
文档: ${{ steps.changelog.outputs.tag }}: https://raw.githack.com/jaywcjlove/rust-cn-document-for-docker/${{ steps.changelog.outputs.gh-pages-short-hash }}/index.html
比较变化: ${{ steps.changelog.outputs.compareurl }}
Expand Down

0 comments on commit ef6b23f

Please sign in to comment.