Skip to content

Commit 9231503

Browse files
updated: publish on push
1 parent b56fca8 commit 9231503

File tree

2 files changed

+8
-13
lines changed

2 files changed

+8
-13
lines changed

.github/workflows/publish.yml

-12
This file was deleted.

.github/workflows/release-on-push.yml

+8-1
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,15 @@ jobs:
3939
TAG="v${{ steps.get_version.outputs.version }}"
4040
git tag $TAG
4141
git push origin $TAG
42-
gh release create $TAG --title "$TAG""
42+
gh release create $TAG --title "$TAG"
4343
4444
- name: Tag already exists - Exit successfully
4545
if: steps.check_tag.outputs.exists == 'true'
4646
run: echo "Release already exists, exiting successfully."
47+
48+
publish:
49+
needs: create-release
50+
if: needs.create-release.outputs.exisits == 'false'
51+
permissions:
52+
id-token: write
53+
uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1

0 commit comments

Comments
 (0)