mirror of
https://github.com/coder/coder.git
synced 2026-06-04 13:38:21 +00:00
42fd1c1291
Updates CI job definitions to cache downloaded binaries for embedded-postgres.
19 lines
570 B
YAML
19 lines
570 B
YAML
name: "Upload Embedded Postgres Cache"
|
|
description: Uploads the embedded Postgres cache. This only runs on the main branch.
|
|
inputs:
|
|
cache-key:
|
|
description: "Cache key"
|
|
required: true
|
|
cache-path:
|
|
description: "Path to the cache directory"
|
|
required: true
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- name: Upload Embedded Postgres cache
|
|
if: ${{ github.ref == 'refs/heads/main' }}
|
|
uses: actions/cache/save@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
|
|
with:
|
|
path: ${{ inputs.cache-path }}
|
|
key: ${{ inputs.cache-key }}
|