File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 2828 repository : benjamincanac/app-ui3
2929
3030 - name : Set commit SHA from triggering workflow
31- run : echo "COMMIT=${{ github.event.workflow_run.head_sha }}" >> $GITHUB_ENV
31+ run : |
32+ echo "COMMIT_SHA=$(echo ${{ github.event.workflow_run.head_sha }} | cut -c1-7)" >> $GITHUB_ENV
3233
3334 - name : Install pnpm
3435 uses : pnpm/action-setup@v4
4041 cache : pnpm
4142
4243 - name : Install dependencies
43- run : pnpm install https://pkg.pr.new/@nuxt/ui@${COMMIT:0:7 }
44+ run : pnpm install https://pkg.pr.new/@nuxt/ui@${{ env.COMMIT_SHA } }
4445
4546 - name : Typecheck
4647 run : pnpm run typecheck
6970 repository : benjamincanac/app-ui3-vue
7071
7172 - name : Set commit SHA from triggering workflow
72- run : echo "COMMIT=${{ github.event.workflow_run.head_sha }}" >> $GITHUB_ENV
73+ run : |
74+ echo "COMMIT_SHA=$(echo ${{ github.event.workflow_run.head_sha }} | cut -c1-7)" >> $GITHUB_ENV
7375
7476 - name : Install pnpm
7577 uses : pnpm/action-setup@v4
8183 cache : pnpm
8284
8385 - name : Install dependencies
84- run : pnpm install https://pkg.pr.new/@nuxt/ui@${COMMIT:0:7 }
86+ run : pnpm install https://pkg.pr.new/@nuxt/ui@${{ env.COMMIT_SHA } }
8587
8688 # - name: Typecheck
8789 # run: pnpm run typecheck
You can’t perform that action at this time.
0 commit comments