Skip to content
This repository was archived by the owner on May 25, 2025. It is now read-only.

Commit adb3069

Browse files
committed
Test
1 parent 195dd01 commit adb3069

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/publish_alpha.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff 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"

0 commit comments

Comments
 (0)