Skip to content

Commit

Permalink
Update release and test-build workflows to cache main.ts
Browse files Browse the repository at this point in the history
- Updated release.yml and test-build.yml to cache src/main.ts instead of main.ts
- Removed deno.lock file before caching
  • Loading branch information
sidedwards committed Oct 30, 2024
1 parent 9006b72 commit baa3593
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Build Executables
run: |
rm -f deno.lock
deno cache main.ts
deno cache src/main.ts
deno run --allow-read --allow-write --allow-run="git,vim,gh,deno" scripts/build.ts
- name: Generate Release Notes
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ jobs:
- name: Test Build
run: |
rm -f deno.lock
deno cache main.ts
deno cache src/main.ts
deno run --allow-read --allow-write --allow-run="git,vim,gh,deno" scripts/build.ts

0 comments on commit baa3593

Please sign in to comment.