Skip to content
This repository was archived by the owner on Jan 18, 2025. It is now read-only.

Commit befd8a4

Browse files
author
Ernest
committed
ci: update npm-publish config
1 parent a378f26 commit befd8a4

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/ci.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -40,18 +40,17 @@ jobs:
4040
tag: latest
4141
access: public
4242
dry-run: false
43-
check-version: true
44-
greater-version-only: true
43+
strategy: all
4544

4645
- name: Tag
47-
if: github.ref_name == 'main' && steps.publish.outputs.type != 'none'
46+
if: github.ref_name == 'main' && steps.publish.outputs.type
4847
uses: anothrNick/github-tag-action@v1
4948
env:
5049
CUSTOM_TAG: ${{ steps.publish.outputs.version }}
5150
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5251

5352
- name: Release
54-
if: github.ref_name == 'main' && steps.publish.outputs.type != 'none'
53+
if: github.ref_name == 'main' && steps.publish.outputs.type
5554
uses: softprops/action-gh-release@v1
5655
with:
5756
tag_name: ${{ steps.publish.outputs.version }}

0 commit comments

Comments
 (0)