From 55b9734d6597ed14da57a14bede4bb4643305027 Mon Sep 17 00:00:00 2001 From: Mioki <22417711+okibcn@users.noreply.github.com> Date: Thu, 26 Jan 2023 10:57:18 -0800 Subject: [PATCH] test 7 --- .github/workflows/Xbuild4Windows.yml | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/.github/workflows/Xbuild4Windows.yml b/.github/workflows/Xbuild4Windows.yml index a9a4b4433..33bfcfde0 100644 --- a/.github/workflows/Xbuild4Windows.yml +++ b/.github/workflows/Xbuild4Windows.yml @@ -15,6 +15,8 @@ on: description: 'Run the build with tmate debugging enabled true/false (default: false)' required: false default: 'false' +env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} jobs: build: @@ -95,7 +97,7 @@ jobs: ./autogen.sh - - name: "🔧 Apply Portability Patches" + - name: "🔧 Apply Windows Portability Patches" run: | cd nano ########################## @@ -344,4 +346,17 @@ jobs: body_path: body.txt # files: nano/*.7z body: | - ${{ env.BODY }} \ No newline at end of file + ${{ env.BODY }} + + + REPO=$GITHUB_REPOSITORY + TAG=$NANO_VERSION + NAME=$NANO_VERSION + BODY=$BODY + file=$(ls nano/*7z) + jq --null-input \ + --arg tag "$TAG" \ + --arg name "$NAME" \ + --arg body "$BODY" \ + '{ tag_name: $tag, name: $name, body: $body }') + \ No newline at end of file