Skip to content

Commit 0ca43c0

Browse files
committed
fix: use variables form env
1 parent d0c29d5 commit 0ca43c0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

build-client/action.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,16 @@ runs:
2222
path: "./client"
2323
# Log the versions for debugging
2424
- run: |
25-
echo "Using Node.js version: ${{ vars.NODE_JS_VERSION }}"
26-
echo "Using pnpm version: ${{ vars.PNPM_VERSION }}"
25+
echo "Using Node.js version: ${{ env.NODE_JS_VERSION }}"
26+
echo "Using pnpm version: ${{ env.PNPM_VERSION }}"
2727
shell: bash
2828
- uses: actions/setup-node@v4
2929
with:
30-
node-version: ${{ vars.NODE_JS_VERSION }}
30+
node-version: ${{ env.NODE_JS_VERSION }}
3131
# Setup pnpm
3232
- uses: pnpm/action-setup@v4
3333
with:
34-
version: ${{ vars.PNPM_VERSION }}
34+
version: ${{ env.PNPM_VERSION }}
3535
# Get the openapi.yaml file
3636
- run: |
3737
echo "Fetching OpenAPI file from: ${GITLAB_API}/${GITLAB_PROJECT}/repository/files/${OPENAPI_PATH}%2F${OPENAPI_FILE}/raw?ref=${CI_COMMIT_TAG}"

0 commit comments

Comments
 (0)