Skip to content

Commit c92613b

Browse files
committed
fix: 更新GitHub Actions和Dockerfile中的依赖版本
1 parent 7aacc89 commit c92613b

3 files changed

Lines changed: 9 additions & 13 deletions

File tree

.github/workflows/release-on-version-change.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ jobs:
136136
esac
137137
138138
- name: Upload build artifact
139-
uses: actions/upload-artifact@v4
139+
uses: actions/upload-artifact@v7
140140
with:
141141
name: ${{ matrix.platform }}-binary
142142
path: release-artifacts/*
@@ -165,17 +165,16 @@ jobs:
165165
fetch-tags: true
166166

167167
- name: Download build artifacts
168-
uses: actions/download-artifact@v4
168+
uses: actions/download-artifact@v8
169169
with:
170170
path: release-artifacts
171+
merge-multiple: true
171172

172-
- name: Flatten artifacts
173+
- name: List flattened artifacts
173174
shell: bash
174175
run: |
175176
mkdir -p final-artifacts
176-
177-
find release-artifacts -type f -exec cp {} final-artifacts/ \;
178-
177+
cp release-artifacts/* final-artifacts/
179178
ls -lah final-artifacts
180179
181180
- name: Generate release notes

Dockerfile

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,13 @@ FROM node:lts-alpine
33
RUN apk add --no-cache tini
44

55
ENV NODE_ENV production
6+
USER node
67

78
WORKDIR /app
89

9-
RUN corepack enable && corepack prepare pnpm@latest --activate
10-
11-
COPY . ./
10+
COPY --chown=node:node . ./
1211

13-
RUN pnpm install --frozen-lockfile
14-
15-
USER node
12+
RUN yarn --network-timeout=100000
1613

1714
EXPOSE 3000
1815

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@neteasecloudmusicapienhanced/api",
3-
"version": "4.34.2",
3+
"version": "4.34.3",
44
"description": "全网最全的网易云音乐API接口 || A revival project for NeteaseCloudMusicApi Node.js Services (Half Refactor & Enhanced) || 网易云音乐 API 备份 + 增强 || 本项目自原版v4.28.0版本后开始自行维护",
55
"scripts": {
66
"dev": "nodemon app.js",

0 commit comments

Comments
 (0)