From 8d04bc6bac082ff43dae3af3d79b003c2dc4554f Mon Sep 17 00:00:00 2001 From: renqian805 <84910084+renqian805@users.noreply.github.com> Date: Tue, 5 Jul 2022 17:49:50 +0800 Subject: [PATCH] ci: set time zone --- .github/workflows/release.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b3c2efd0..cd48c0c4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,6 +19,10 @@ jobs: - name: Check out git repository uses: actions/checkout@v3.0.0 + # 设置服务器时区为东八区 + - name: Set time zone + run: sudo timedatectl set-timezone 'Asia/Shanghai' + - name: Install Node.js uses: actions/setup-node@v3.0.0 with: @@ -80,8 +84,8 @@ jobs: # apply provisioning profile # mkdir -p ~/Library/MobileDevice/Provisioning\ Profiles # cp $PP_PATH ~/Library/MobileDevice/Provisioning\ Profiles - yarn release yarn release:m1 + yarn release # clean up keychain and provisioning profile security delete-keychain $RUNNER_TEMP/app-signing.keychain-db