This repository was archived by the owner on May 25, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -99,24 +99,27 @@ jobs:
9999 - name : Setup
100100 run : |
101101 pnpm i
102-
103102 sudo apt install jq
103+ node --import @swc-node/register/esm-register ./scripts/update/xml.ts ~/noraneko-publish/win/meta.json ~/noraneko-publish/win/WINNT_x86_64-msvc-x64.update.xml
104+ node --import @swc-node/register/esm-register ./scripts/update/xml.ts ~/noraneko-publish/linux/meta.json ~/noraneko-publish/linux/Linux_x86_64.update.xml
105+ node --import @swc-node/register/esm-register ./scripts/update/xml.ts ~/noraneko-publish/mac/meta.json ~/noraneko-publish/mac/Darwin_x86_64.update.xml
104106
105- node --import @swc-node/register/esm-register ./scripts/update/xml.ts ~/noraneko-publish/meta.json ~/noraneko-publish/WINNT_x86_64-msvc-x64.update.xml
106-
107- echo "VERSION=$(cat ~/noraneko-publish/meta.json | jq '.version' | sed 's/"//g')" >> "$GITHUB_ENV"
108- echo "NR_VERSION=$(cat ~/noraneko-publish/meta.json | jq '.noraneko_version' | sed 's/"//g')" >> "$GITHUB_ENV"
107+ echo "VERSION=$(cat ~/noraneko-publish/win/meta.json | jq '.version' | sed 's/\"//g')" >> "$GITHUB_ENV"
108+ echo "NR_VERSION=$(cat ~/noraneko-publish/win/meta.json | jq '.noraneko_version' | sed 's/\"//g')" >> "$GITHUB_ENV"
109109 echo "ROOT_DIR=$(echo ~)" >> "$GITHUB_ENV"
110110
111111 - name : Deploy to GitHub Releases 🚀
112112 uses : softprops/action-gh-release@v2
113113 with :
114114 files : |
115115 ${{ env.ROOT_DIR }}/noraneko-publish/win/*.mar
116+ ${{ env.ROOT_DIR }}/noraneko-publish/win/*.xml
116117 ${{ env.ROOT_DIR }}/noraneko-publish/win-dist/**
117118 ${{ env.ROOT_DIR }}/noraneko-publish/linux/*.mar
119+ ${{ env.ROOT_DIR }}/noraneko-publish/linux/*.xml
118120 ${{ env.ROOT_DIR }}/noraneko-publish/linux-dist/**
119121 ${{ env.ROOT_DIR }}/noraneko-publish/mac/*.mar
122+ ${{ env.ROOT_DIR }}/noraneko-publish/mac/*.xml
120123 ${{ env.ROOT_DIR }}/noraneko-publish/mac-dist/**
121124 tag_name : " alpha"
122125 name : " Alpha Release"
You can’t perform that action at this time.
0 commit comments