Skip to content

Commit c3a4216

Browse files
committed
test: test upload to cos
1 parent 8e465dd commit c3a4216

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,14 @@ jobs:
7777
needs: build
7878
runs-on: ubuntu-latest
7979
steps:
80+
- name: Checkout code
81+
uses: actions/checkout@v4
82+
83+
- name: Setup Node.js
84+
uses: actions/setup-node@v4
85+
with:
86+
node-version: 20
87+
8088
- name: Download all artifacts
8189
uses: actions/download-artifact@v4
8290
with:
@@ -85,7 +93,7 @@ jobs:
8593
- name: Display structure of downloaded files
8694
run: ls -R artifacts
8795

88-
- name: Upload version index to COS
96+
- name: Upload to COS
8997
run: node scripts/upload-to-cos.js ${{ github.ref_name }}
9098
env:
9199
COS_SECRET_ID: ${{ secrets.COS_SECRET_ID }}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "Kessoku-the-Broadcaster",
33
"private": true,
4-
"version": "0.0.5-alpha",
4+
"version": "0.0.6-alpha",
55
"main": "dist/electron/main.js",
66
"author": {
77
"name": "algoUX",

0 commit comments

Comments
 (0)