From 962e7f69ef0405bf05c855a82847e7330e0d83c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E5=BC=9F=E8=B0=83=E8=B0=83?= Date: Wed, 31 Jul 2024 10:20:36 +0800 Subject: [PATCH] doc: Update README.md --- README.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0ad1e0e..8519c45 100644 --- a/README.md +++ b/README.md @@ -131,11 +131,12 @@ Use `steps..outputs.successful` to determine whether the version is crea ${{ steps.changelog.outputs.changelog }} ``` -OR use `jaywcjlove/create-tag-action@main`: +OR use `jaywcjlove/create-tag-action@main` create release: ```yml -- name: Generate Changelog +- name: Create Release uses: jaywcjlove/create-tag-action@main + id: release if: steps.create_tag.outputs.successful == 'true' with: version: ${{steps.create_tag.outputs.version}} @@ -147,6 +148,13 @@ OR use `jaywcjlove/create-tag-action@main`: ${{ steps.changelog.outputs.compareurl }} ${{ steps.changelog.outputs.changelog }} + +- name: Release Upload Assets + uses: jaywcjlove/github-action-upload-assets@main + continue-on-error: true + with: + tag: ${{ steps.release.outputs.version }} + asset-path: '["./target/release/sgo-*"]' ``` ## See Also