Build debian cache once a week
This commit is contained in:
parent
efbdc9db36
commit
183b4698dd
30
.github/workflows/debian.yml
vendored
Normal file
30
.github/workflows/debian.yml
vendored
Normal file
@ -0,0 +1,30 @@
|
||||
name: Debian
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '45 0 * * 5'
|
||||
|
||||
jobs:
|
||||
debian-cache:
|
||||
name: Build Cache
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
|
||||
- name: Build
|
||||
run: go build
|
||||
|
||||
- name: Cache
|
||||
run: ./out-of-tree --log-level=trace debian cache --path=/home/runner/debian.cache
|
||||
|
||||
- name: Archive cache
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: debian-cache
|
||||
path: /home/runner/debian.cache
|
||||
|
||||
- name: Archive logs
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: debian-cache-logs
|
||||
path: /home/runner/.out-of-tree/logs
|
Loading…
Reference in New Issue
Block a user