ci: use nekowinston/setup-deno for caching (#348)
This commit is contained in:
1 parent
dc998eb14f
commit
7275c21f64
4 files changed
+5
-39
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user