From 38802011f8f9742eb792c29ffb545fbb12a16397 Mon Sep 17 00:00:00 2001 From: Konstantin Pastbin Date: Tue, 25 Nov 2025 15:20:05 +0700 Subject: [PATCH] [generator] Make the upload step use cached repo clone Signed-off-by: Konstantin Pastbin --- .forgejo/workflows/map-generator.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/map-generator.yml b/.forgejo/workflows/map-generator.yml index 216f1b406..300711681 100644 --- a/.forgejo/workflows/map-generator.yml +++ b/.forgejo/workflows/map-generator.yml @@ -46,7 +46,7 @@ env: MWMCONTINUE: ${{ inputs.map-generator-continue }} MWMCOUNTRIES: ${{ inputs.map-generator-countries }} DEBIAN_FRONTEND: noninteractive - TZ: Etc/UTC + TZ: Etc/UTC jobs: clone-repos: @@ -467,6 +467,10 @@ jobs: group: ${{ github.workflow }}-map-generator-${{ github.event.pull_request.number || github.ref }} cancel-in-progress: true steps: + - uses: actions/cache@v4 + with: + path: "~" + key: cache-${{ github.run_id }}-${{ github.run_attempt }} - name: Write config file run: | mkdir -p ~/.config/rclone/ @@ -498,4 +502,3 @@ jobs: --data-urlencode topic=codeberg-bot \ --data-urlencode 'content=Upload is done!' - \ No newline at end of file