Skip to content

Commit

Permalink
fix: Fix submodule not updated
Browse files Browse the repository at this point in the history
  • Loading branch information
jim60105 committed Dec 10, 2023
1 parent 6535fe7 commit 4f0dd00
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/FetchLyrics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ jobs:
- uses: actions/checkout@v4
with:
ref: lyrics
submodules: true

- name: Checkout submodules to latest
run: git submodule update --init --recursive && git submodule update --recursive --remote

- name: Checkout appsettings.json from HEAD
run: 'git checkout HEAD appsettings.json'
run: |
git submodule set-branch --branch master
git submodule update --remote --checkout --depth 0
- name: Execute Lyrics (workflow_dispatch)
if: ${{ github.event_name == 'workflow_dispatch' }}
Expand Down

0 comments on commit 4f0dd00

Please sign in to comment.