From bc2bfc5c304d85a5d4a55a147cfa91dfdf0c5f55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8C=AB=E5=A4=B4=E7=8C=AB?= <31655147+maotoumao@users.noreply.github.com> Date: Sun, 16 Jun 2024 20:25:24 +0800 Subject: [PATCH 1/3] Update autobuild.yml --- .github/workflows/autobuild.yml | 34 ++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/autobuild.yml b/.github/workflows/autobuild.yml index 6a1eb834..e2ed321b 100644 --- a/.github/workflows/autobuild.yml +++ b/.github/workflows/autobuild.yml @@ -5,8 +5,8 @@ jobs: build-windows: runs-on: windows-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: 18 - run: echo (node -p -e '`VERSION=${require("./package.json").version}`') >> $Env:GITHUB_ENV @@ -17,7 +17,7 @@ jobs: filepath: ./release/build-windows.iss variables: /DMyAppVersion=${{ env.VERSION }} /DMyAppId=${{ secrets.MYAPPID }} - name: Upload Setup - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: windows-release path: ./out/MusicFreeSetup.exe @@ -28,7 +28,7 @@ jobs: files: ./out/MusicFree-win32-x64 dest: MusicFree-win32-x64-portable.zip - name: Upload Portable - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: windows-portable-release path: ${{ github.workspace }}/MusicFree-win32-x64-portable.zip @@ -36,8 +36,8 @@ jobs: build-windows-legacy: runs-on: windows-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: 18 - run: echo (node -p -e '`VERSION=${require("./package.json").version}`') >> $Env:GITHUB_ENV @@ -49,7 +49,7 @@ jobs: filepath: ./release/build-windows.iss variables: /DMyAppVersion=${{ env.VERSION }} /DMyAppId=${{ secrets.MYAPPID }} - name: Upload Setup - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: windows-legacy-release path: ./out/MusicFreeSetup.exe @@ -60,7 +60,7 @@ jobs: files: ./out/MusicFree-win32-x64 dest: MusicFree-win32-x64-legacy-portable.zip - name: Upload Portable - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: windows-legacy-portable-release path: ${{ github.workspace }}/MusicFree-win32-x64-legacy-portable.zip @@ -68,11 +68,11 @@ jobs: build-macos-x64: runs-on: macos-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: python-version: '3.10' - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: 18 - run: node -p -e '`VERSION=${require("./package.json").version}`' >> $GITHUB_ENV @@ -80,7 +80,7 @@ jobs: - run: npm run make - run: ls ./out/make - name: Upload Setup - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: macos-x64-dmg-release path: ./out/make/MusicFree-${{ env.VERSION }}-x64.dmg @@ -88,18 +88,18 @@ jobs: build-macos-arm64: runs-on: macos-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: python-version: '3.10' - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: 18 - run: node -p -e '`VERSION=${require("./package.json").version}`' >> $GITHUB_ENV - run: npm install - run: npm run make -- --arch="arm64" - name: Upload Setup - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: macos-arm64-dmg-release path: ./out/make/MusicFree-${{ env.VERSION }}-arm64.dmg @@ -107,15 +107,15 @@ jobs: build-ubuntu: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: 18 - run: node -p -e '`VERSION=${require("./package.json").version}`' >> $GITHUB_ENV - run: npm install - run: npm run make - name: Upload Setup - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ubuntu-release path: ./out/make/deb/x64/ From d666a8429433351d7058019055ec468415cb6192 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8C=AB=E5=A4=B4=E7=8C=AB?= <31655147+maotoumao@users.noreply.github.com> Date: Sun, 16 Jun 2024 20:33:10 +0800 Subject: [PATCH 2/3] Update autobuild.yml --- .github/workflows/autobuild.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/autobuild.yml b/.github/workflows/autobuild.yml index e2ed321b..a78cbf72 100644 --- a/.github/workflows/autobuild.yml +++ b/.github/workflows/autobuild.yml @@ -77,7 +77,7 @@ jobs: node-version: 18 - run: node -p -e '`VERSION=${require("./package.json").version}`' >> $GITHUB_ENV - run: npm install - - run: npm run make + - run: npm run make -- --arch="x64" - run: ls ./out/make - name: Upload Setup uses: actions/upload-artifact@v4 From 7cb5023ebb19d042ce54800a12bad2aa047ff426 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8C=AB=E5=A4=B4=E7=8C=AB?= <31655147+maotoumao@users.noreply.github.com> Date: Sun, 16 Jun 2024 20:40:44 +0800 Subject: [PATCH 3/3] Update build-windows.iss --- release/build-windows.iss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/release/build-windows.iss b/release/build-windows.iss index 51d64737..1c4e245e 100644 --- a/release/build-windows.iss +++ b/release/build-windows.iss @@ -5,8 +5,8 @@ #ifndef MyAppVersion #define MyAppVersion "0.0.0-alpha.0" #endif -#define MyAppPublisher "猫头猫" -#define MyAppURL "http://musicfree.upup.fun" +#define MyAppPublisher "maotoumao" +#define MyAppURL "https://musicfree.upup.fun" #define MyAppExeName "MusicFree.exe" #ifndef MyAppId #define MyAppId