1
0
Fork 0

Switch to s3cmd

timestamps
dump_stack() 2023-05-12 07:53:23 +00:00
parent 3ae8707dcb
commit eb51469283
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC
1 changed files with 7 additions and 11 deletions

View File

@ -16,7 +16,13 @@ jobs:
run: go build
- name: Cache
run: ./out-of-tree --log-level=trace debian cache --path=debian.cache
run: ./out-of-tree --log-level=trace debian cache --path=/home/runner/debian.cache
- name: Install s3cmd
run: sudo apt install s3cmd
- name: Upload cache
run:"s3cmd put /home/runner/debian.cache s3://out-of-tree/1.0.0 --host=fra1.digitaloceanspaces.com --access_key=${{ secrets.DIGITALOCEAN_SPACES_ACCESS_KEY }} --secret_key=${{ secrets.DIGITALOCEAN_SPACES_SECRET_KEY }}
- name: Archive cache
uses: actions/upload-artifact@v3
@ -24,16 +30,6 @@ 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: debian.cache
out_dir: 1.0.0
- name: Archive logs
uses: actions/upload-artifact@v3
with: