Skip to content

Commit dfcfe0c

Browse files
committed
Use separate goreleaser dist dir to avoid deleting Action JS bundles
1 parent ebb4c94 commit dfcfe0c

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1-
dist/
1+
.goreleaser-dist/
2+
/dist/*
3+
!/dist/main/
4+
!/dist/post/
5+
!/dist/pre/
26
/gradle-cache
37
.idea/

.goreleaser.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
version: 2
22

3+
# Use a separate directory so --clean doesn't delete the Action's bundled JS
4+
# files in dist/{main,post,pre}/.
5+
dist: .goreleaser-dist
6+
37
builds:
48
- id: gradle-cache
59
main: ./cmd/gradle-cache

0 commit comments

Comments
 (0)