File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3030 id : setup-node
3131 with :
3232 node-version-file : .nvmrc
33+
34+ - name : Store Node version
35+ run : |
36+ NODE_VERSION="${{ steps.setup-node.outputs.node-version }}"
37+ echo "NODE_VERSION=${NODE_VERSION#v}" >> $GITHUB_ENV
3338
3439 - name : Install pnpm
3540 uses : pnpm/action-setup@v4
8489 - name : Log Step outputs
8590 run : |
8691 echo "Node version: ${{ steps.setup-node.outputs.node-version }}"
92+ echo "NODE_VERSION: ${{ env.NODE_VERSION }}"
8793 echo "Tags: ${{ steps.meta.outputs.tags }}"
8894 echo "Labels: ${{ steps.meta.outputs.labels }}"
8995
98104 cache-from : type=gha
99105 cache-to : type=gha,mode=max
100106 build-args : |
101- NODE_VERSION=${{ steps.setup-node.outputs.node-version }}
107+ NODE_VERSION=${{ env.NODE_VERSION }}
102108
103109 - name : Deploy to VPS
104110 uses : appleboy/ssh-action@v1.0.3
You can’t perform that action at this time.
0 commit comments