[generator] Make the upload step use cached repo clone

Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
This commit is contained in:
Konstantin Pastbin
2025-11-25 15:20:05 +07:00
committed by jeanbaptisteC
parent ea887c3209
commit 38802011f8

View File

@@ -467,6 +467,10 @@ jobs:
group: ${{ github.workflow }}-map-generator-${{ github.event.pull_request.number || github.ref }} group: ${{ github.workflow }}-map-generator-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true cancel-in-progress: true
steps: steps:
- uses: actions/cache@v4
with:
path: "~"
key: cache-${{ github.run_id }}-${{ github.run_attempt }}
- name: Write config file - name: Write config file
run: | run: |
mkdir -p ~/.config/rclone/ mkdir -p ~/.config/rclone/
@@ -498,4 +502,3 @@ jobs:
--data-urlencode topic=codeberg-bot \ --data-urlencode topic=codeberg-bot \
--data-urlencode 'content=Upload is done!' --data-urlencode 'content=Upload is done!'