Skip to content

Commit

Permalink
updating GitHub pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
agracio committed Sep 20, 2024
1 parent afa8762 commit 2f3dc15
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ on:
env:
DOTNET_CLI_TELEMETRY_OPTOUT: 1
DOTNET_NOLOGO: 1
node: 20

jobs:
build:
Expand All @@ -34,7 +35,8 @@ jobs:
- name: Setup env
uses: ./.github/actions/setup-env
with:
node: ${{ inputs.build-version }}
node: ${{ env.node }}
# node: ${{ inputs.build-version }}
os: windows-2022

- name: Get latest Node.js version for v${{ inputs.build-version }}
Expand Down Expand Up @@ -131,7 +133,8 @@ jobs:
- name: Setup env
uses: ./.github/actions/setup-env
with:
node: ${{ inputs.build-version }}
# node: ${{ inputs.build-version }}
node: ${{ env.node }}
os: ${{ matrix.os }}

- name: Download artifacts
Expand All @@ -155,7 +158,7 @@ jobs:
result-encoding: string
script: |
try {
var arch = ${{ runner.arch }}
var arch = '${{ runner.arch }}'
return arch.toLowerCase();
} catch(err) {
core.setFailed(err)
Expand Down

0 comments on commit 2f3dc15

Please sign in to comment.