From e3c2bb134fd9da01b23be9efa1b12017c6f94dd4 Mon Sep 17 00:00:00 2001 From: Mikhail Klementev Date: Fri, 12 May 2023 01:25:05 +0000 Subject: [PATCH] Upload cache --- .github/workflows/debian.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/debian.yml b/.github/workflows/debian.yml index e289732..56bf47b 100644 --- a/.github/workflows/debian.yml +++ b/.github/workflows/debian.yml @@ -1,6 +1,7 @@ name: Debian on: + workflow_dispatch: schedule: - cron: '45 0 * * 5' @@ -23,6 +24,16 @@ jobs: name: debian-cache path: /home/runner/debian.cache + - name: Upload cache + uses: BetaHuhn/do-spaces-action@v2 + with: + access_key: ${{ secrets.ACCESS_KEY }} + secret_key: ${{ secrets.SECRET_KEY }} + space_name: ${{ secrets.SPACE_NAME }} + space_region: ${{ secrets.SPACE_REGION }} + source: /home/runner/debian.cache + out_dir: 1.0.0 + - name: Archive logs uses: actions/upload-artifact@v3 with: