diff --git a/.github/workflows/build_time.yml b/.github/workflows/build_time.yml index e59e0c5..2c1f9ba 100644 --- a/.github/workflows/build_time.yml +++ b/.github/workflows/build_time.yml @@ -16,10 +16,10 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: actions/setup-java@v4 #设置jre依赖,以获取精确时间 - with: - distribution: "temurin" - java-version: "21" #理论上8就够了 + - name: Install package #设置jre依赖,以获取精确时间 + shell: pwsh + run: | + apt-get install tzdata -y - name: Build with LaTeXmk #编译准备 uses: xu-cheng/latex-action@3.2.0