Skip to content

Commit

Permalink
ci: 完善 Init.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
gendloop committed Nov 17, 2024
1 parent 9040a7c commit d3fe7bb
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/Init.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
str-to-replace: 'REPO'
replace-to-str: ${{ steps.get-repo-name.outputs.reponame }}

- name: replace-include
- name: replace-book.json
uses: gendloop/replace-str@v1.0.1
with:
token: ${{ github.token }}
Expand Down Expand Up @@ -68,6 +68,14 @@ jobs:
Write-Host "File $file does not exist."
}
- name: remove-useless-files-for-others
if: ${{ github.actor != 'gendloop' }}
working-directory: ${{ github.workspace }}
shell: pwsh
run: |
Remove-Item scripts/downloadFilesFromRepo.json
Remove-Item .github/workflows/Sync_Download.yml
- name: git-push
uses: gendloop/git-push@v1.0.0
with:
Expand Down

0 comments on commit d3fe7bb

Please sign in to comment.