From 2abcc240184de310124db5d7f5ee3794f126d3fc Mon Sep 17 00:00:00 2001 From: Benjamin Canac Date: Wed, 19 Mar 2025 18:38:40 +0100 Subject: [PATCH] chore(github): update integration workflow --- .github/workflows/integration.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 43b467bf..564cc111 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -28,7 +28,8 @@ jobs: repository: benjamincanac/app-ui3 - name: Set commit SHA from triggering workflow - run: echo "COMMIT=${{ github.event.workflow_run.head_sha }}" >> $GITHUB_ENV + run: | + echo "COMMIT_SHA=$(echo ${{ github.event.workflow_run.head_sha }} | cut -c1-7)" >> $GITHUB_ENV - name: Install pnpm uses: pnpm/action-setup@v4 @@ -40,7 +41,7 @@ jobs: cache: pnpm - name: Install dependencies - run: pnpm install https://pkg.pr.new/@nuxt/ui@${COMMIT:0:7} + run: pnpm install https://pkg.pr.new/@nuxt/ui@${{ env.COMMIT_SHA }} - name: Typecheck run: pnpm run typecheck @@ -69,7 +70,8 @@ jobs: repository: benjamincanac/app-ui3-vue - name: Set commit SHA from triggering workflow - run: echo "COMMIT=${{ github.event.workflow_run.head_sha }}" >> $GITHUB_ENV + run: | + echo "COMMIT_SHA=$(echo ${{ github.event.workflow_run.head_sha }} | cut -c1-7)" >> $GITHUB_ENV - name: Install pnpm uses: pnpm/action-setup@v4 @@ -81,7 +83,7 @@ jobs: cache: pnpm - name: Install dependencies - run: pnpm install https://pkg.pr.new/@nuxt/ui@${COMMIT:0:7} + run: pnpm install https://pkg.pr.new/@nuxt/ui@${{ env.COMMIT_SHA }} # - name: Typecheck # run: pnpm run typecheck