Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
karthikraman committed Dec 29, 2023
2 parents b9a4129 + 9f279ff commit d5acf41
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/generate_panchaangas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ jobs:
steps:
- name: Inject slug/short variables
uses: rlespinasse/[email protected]
- 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
Expand All @@ -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'}}
Expand Down

0 comments on commit d5acf41

Please sign in to comment.