diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml index 39c6a8e..2705b10 100644 --- a/.github/workflows/sync.yml +++ b/.github/workflows/sync.yml @@ -38,9 +38,11 @@ jobs: - name: Clone sentences-bundle repository if: steps.check_version.outputs.result != 'exists' - run: | - TAG=${{ steps.get_tag.outputs.tag }} - git clone --branch $TAG --single-branch https://github.com/hitokoto-osc/sentences-bundle.git sentences-bundle + uses: actions/checkout@v4 + with: + repository: hitokoto-osc/sentences-bundle + ref: ${{ steps.get_tag.outputs.tag }} + path: sentences-bundle - name: Copy JSON files if: steps.check_version.outputs.result != 'exists'