diff --git a/.github/workflows/generate_panchaangas.yml b/.github/workflows/generate_panchaangas.yml index 0ba856a43..5057f063d 100644 --- a/.github/workflows/generate_panchaangas.yml +++ b/.github/workflows/generate_panchaangas.yml @@ -26,10 +26,10 @@ jobs: steps: - name: Inject slug/short variables uses: rlespinasse/github-slug-action@v4.4.1 - - uses: actions/checkout@v2 + - uses: actions/checkout@master with: repository: jyotisham/jyotisha - submodules: 'true' + submodules: 'false' fetch-depth: 1 # Because of this, you will fail to push refs to dest repo - name: Get current date id: date @@ -38,11 +38,11 @@ jobs: echo "date={$(date +'%Y-%m-%d')}" >> $GITHUB_OUTPUT echo "year=$(date +'%Y')" >> $GITHUB_OUTPUT cat $GITHUB_OUTPUT - - name: Update submodules - id: update_submods + - name: Init submodules, update some run: | set -o xtrace - git submodule update --init --recursive + pwd + git submodule update --init --recursive git submodule foreach -q --recursive 'git checkout $(git config -f $toplevel/.gitmodules submodule.$name.branch || echo master)' - name: Set content to pull request if: ${{ github.event_name == 'pull_request'}}