Skip to content

Commit bdb0845

Browse files
committed
fix(ci): use draft releases to prevent matrix race condition
1 parent cca4c5a commit bdb0845

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,6 @@ jobs:
3737
- name: Install Dependencies
3838
run: npm ci
3939

40-
- name: Delete existing release (if any)
41-
uses: dev-drprasad/delete-tag-and-release@v1.1
42-
with:
43-
delete_release: true
44-
tag_name: ${{ github.ref_name }}
45-
env:
46-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
47-
4840
- name: Build Code
4941
run: npm run build
5042

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,8 @@
103103
"publish": {
104104
"provider": "github",
105105
"owner": "Shin-Aska",
106-
"repo": "amagon-html-editor"
106+
"repo": "amagon-html-editor",
107+
"releaseType": "draft"
107108
}
108109
}
109110
}

0 commit comments

Comments
 (0)