From ca00a194e0f5c232dedca9a4f81ad7a38d060a16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8C=AB=E5=A4=B4=E7=8C=AB?= Date: Sun, 16 Jun 2024 19:26:35 +0800 Subject: [PATCH] update autobuild --- .github/workflows/autobuild.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/autobuild.yml b/.github/workflows/autobuild.yml index 9521916..0f53194 100644 --- a/.github/workflows/autobuild.yml +++ b/.github/workflows/autobuild.yml @@ -8,8 +8,8 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 16 - - run: echo (node -p -e '`VERSION=${require(\"./package.json\").version}`') >> $Env:GITHUB_ENV + node-version: 18 + - run: echo (node -p -e '`VERSION=${require("./package.json").version}`') >> $Env:GITHUB_ENV - run: npm install - run: npm run package - uses: maotoumao/inno-setup-action-cli@main @@ -39,8 +39,8 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 16 - - run: echo (node -p -e '`VERSION=${require(\"./package.json\").version}`') >> $Env:GITHUB_ENV + node-version: 18 + - run: echo (node -p -e '`VERSION=${require("./package.json").version}`') >> $Env:GITHUB_ENV - run: npm install - run: npm install electron@22 - run: npm run package @@ -74,7 +74,7 @@ jobs: python-version: '3.10' - uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 18 - run: node -p -e '`VERSION=${require("./package.json").version}`' >> $GITHUB_ENV - run: npm install - run: npm run make @@ -93,7 +93,7 @@ jobs: python-version: '3.10' - uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 18 - run: node -p -e '`VERSION=${require("./package.json").version}`' >> $GITHUB_ENV - run: npm install - run: npm run make -- --arch="arm64" @@ -109,7 +109,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 18 - run: node -p -e '`VERSION=${require("./package.json").version}`' >> $GITHUB_ENV - run: npm install - run: npm run make