Move winfiles #28
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Move winfiles' | |
run-name: 'Move winfiles' | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- 'genfiles/images/**' | |
- 'winfiles/**' | |
- '!winfiles/README.md' | |
concurrency: | |
group: ${{ github.workflow }} | |
permissions: | |
contents: write | |
env: | |
targetBranchName: 'winfiles' | |
otherSharedFiles: '' # space separated | |
otherDirs: 'genfiles/images' # space separated | |
jobs: | |
move-files: | |
runs-on: ubuntu-latest | |
name: ${{ github.workflow }} | |
steps: | |
- name: 'Checkout repository' | |
id: checkout-repo | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: 'Move ${{ env.targetBranchName }} branch files' | |
id: move-branch-files | |
uses: ./.github/actions/templates/moveFiles | |
with: | |
targetBranchName: ${{ env.targetBranchName }} | |
otherSharedFiles: ${{ env.otherSharedFiles }} | |
otherDirs: ${{ env.otherDirs }} |