ci: use nekowinston/setup-deno for caching (#348)

This commit is contained in:
winston authored and GitHub committed 2023-11-21 02:33:16 +01:00
1 parent dc998eb14f
commit 7275c21f64
4 files changed
+5 -39

No files matched your search

+2 -11
View File
@@ -6,9 +6,6 @@ on:
paths:
- "scripts/userstyles.yml"
env:
DENO_DIR: /tmp/deno_cache
jobs:
sync-maintainers:
name: Sync maintainers
@@ -19,17 +16,11 @@ jobs:
with:
ref: ${{ github.ref }}
- name: Set up Deno
uses: denoland/setup-deno@v1
- name: Setup Deno
uses: nekowinston/setup-deno@main
with:
deno-version: v1.x
- name: Cache Deno dependencies
uses: actions/cache@v3
with:
key: ${{ hashFiles('./deno.lock') }}
path: ${{ env.DENO_DIR }}
- name: Sync maintainers
if: ${{ github.repository == 'catppuccin/userstyles' && github.ref == 'refs/heads/main' }}
run: deno task ci:sync-maintainers