From 8bd1135c9d3c28751faaca238230822ed22c6cc5 Mon Sep 17 00:00:00 2001 From: Yifan Gao Date: Wed, 24 Jan 2024 02:25:02 +0800 Subject: [PATCH] Update trigger-build.yml actions/checkout@v4 --- .github/workflows/trigger-build.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/trigger-build.yml b/.github/workflows/trigger-build.yml index 2bd16f9..6d1667f 100644 --- a/.github/workflows/trigger-build.yml +++ b/.github/workflows/trigger-build.yml @@ -18,9 +18,7 @@ jobs: steps: - name: Check out repo - uses: actions/checkout@v2 - with: - ref: ${{ github.ref }} + uses: actions/checkout@v4 - name: Check if image is up-to-date, and build if not run: .\check-and-build.ps1 $env:TRAIN ${{ github.actor }} ${{ secrets.GITHUB_TOKEN }} env: