diff --git a/.github/workflows/dev-build.yml b/.github/workflows/dev-build.yml index df91d9e3..64525b1f 100644 --- a/.github/workflows/dev-build.yml +++ b/.github/workflows/dev-build.yml @@ -25,23 +25,23 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - node: ["18"] + node: ["20"] os: [windows-latest, ubuntu-latest, macos-latest] - arch: ["amd64", "arm64"] + arch: ["x64", "arm64"] env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} NODE_OPTIONS: "--max_old_space_size=6144" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: recursive - - uses: pnpm/action-setup@v2 + - uses: pnpm/action-setup@v3 with: version: latest - name: Use Node.js ${{ matrix.node }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node }} cache: 'pnpm' @@ -51,3 +51,9 @@ jobs: - name: Compile Electron app run: pnpm make + + - name: Upload Artifact + uses: actions/upload-artifact@v4 + with: + name: maax-nightly-${{ matrix.os }}-${{ matrix.arch }} + path: ./out/maa-x* diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f244b562..c91693aa 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -51,7 +51,7 @@ jobs: strategy: fail-fast: false matrix: - node: ["18"] + node: ["20"] os: [windows-latest, ubuntu-latest, macos-latest] arch: ["x64", "arm64"] steps: @@ -60,16 +60,16 @@ jobs: shell: pwsh run: New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnabled" -Value 1 -PropertyType DWORD -Force - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: recursive - - uses: pnpm/action-setup@v2 + - uses: pnpm/action-setup@v3 with: version: latest - name: Use Node.js ${{ matrix.node }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node }} cache: "pnpm"