From 0a98f8f09b894de518093adc1790892c9f547abc Mon Sep 17 00:00:00 2001 From: sctop <2094880085@qq.com> Date: Sat, 26 Aug 2023 11:19:29 +0800 Subject: [PATCH] update submodules first, then run main.py --- .github/workflows/push.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml index 92557bd..9320ba1 100644 --- a/.github/workflows/push.yaml +++ b/.github/workflows/push.yaml @@ -19,11 +19,11 @@ jobs: uses: actions/setup-python@v2 with: python-version: '3.x' - - name: Run main.py - run: python main.py - name: Update submodules run: | git submodule update --remote + - name: Run main.py + run: python main.py - name: Push changes run: | git config --global user.email "github-actions@github.com"