From d952c41b2aa42713ed8dd5f9c519e3a706832250 Mon Sep 17 00:00:00 2001 From: Jimmy Date: Sat, 11 Jun 2022 02:44:14 -0700 Subject: [PATCH] split the tag information --- .github/workflows/Fn.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/Fn.yml b/.github/workflows/Fn.yml index 99868eacb..859a6ee28 100644 --- a/.github/workflows/Fn.yml +++ b/.github/workflows/Fn.yml @@ -37,8 +37,7 @@ jobs: run: | make build_musl_fn_macos - - name: Create release - uses: "marvinpinto/action-automatic-releases@latest" + - name: prepare the tag infomation env: GITHUB_CONTEXT: ${{ toJSON(github) }} run: | @@ -46,6 +45,10 @@ jobs: TAGS=$(grep "refs/tags" <<< ${GITHUB_REF}) || true TAGV="${TAGS#refs/tags/}" echo "Tag: ${TAGV}" + + - name: Create release + uses: "marvinpinto/action-automatic-releases@latest" + with: repo_token: "${{ secrets.GITHUB_TOKEN }}" automatic_release_tag: "latest" @@ -56,4 +59,3 @@ jobs: fn_macos -