From c32ae572113fdffe09454d79f8143688f6a1efa2 Mon Sep 17 00:00:00 2001 From: Murat Dogan Date: Sun, 1 Dec 2024 19:52:30 +0100 Subject: [PATCH] x64 --- .github/workflows/build-win.yml | 43 ++------------------------------- 1 file changed, 2 insertions(+), 41 deletions(-) diff --git a/.github/workflows/build-win.yml b/.github/workflows/build-win.yml index 3b277a0..c5a2035 100644 --- a/.github/workflows/build-win.yml +++ b/.github/workflows/build-win.yml @@ -6,9 +6,6 @@ on: # tags: # - v* -env: - ACTIONS_ALLOW_UNSECURE_COMMANDS: true - jobs: build-windows-x64: runs-on: windows-2022 @@ -18,50 +15,14 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: ilammy/msvc-dev-cmd@v1 - name: Install OpenSSL - run: choco install openssl + run: choco install openssl -y - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - name: Build - run: set npm_config_cache= && set NPM_CONFIG_CACHE= && npm install --build-from-source - env: - CI: true - # - name: Test - # run: npm run test - # env: - # CI: true - - name: Upload - run: node_modules/.bin/prebuild -r napi --upload -u ${{ secrets.GITHUB_TOKEN }} - env: - CI: true - - build-windows-x86: - runs-on: windows-2022 - strategy: - matrix: - node_version: [18.x] - node_arch: - - x86 - steps: - - uses: actions/checkout@v4 - - uses: ilammy/msvc-dev-cmd@v1 - with: - arch: x86 - - name: Install OpenSSL - # openssl v3.1.1 [Approved] - # openssl package files install completed. Performing other installation steps. - # ERROR: 32-bit installation is not supported for openssl - run: choco install openssl --x86=true --version=1.1.1.2100 - - name: Use Node.js ${{ matrix.node_version }} - uses: aminya/setup-node@x86 - with: - node-version: ${{ matrix.node_version }} - node-arch: ${{ matrix.node_arch }} - - name: Build - run: set npm_config_cache= && set NPM_CONFIG_CACHE= && npm install --build-from-source + run: npm install --build-from-source env: CI: true # - name: Test