Skip to content

Commit

Permalink
ci: trying workflow dispatch to publish
Browse files Browse the repository at this point in the history
  • Loading branch information
asartalo committed Nov 23, 2023
1 parent 36f5a8e commit 1b806a4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,11 +137,3 @@ jobs:
draft: false
prerelease: false

publish:
name: Publish
needs: release
permissions:
id-token: write
if: ${{ needs.release.outputs.shouldRelease == 'yes' }}
uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Publish to pub.dev

on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+' # tag pattern on pub.dev: 'v'
on: workflow_dispatch
# push:
# tags:
# - 'v[0-9]+.[0-9]+.[0-9]+' # tag pattern on pub.dev: 'v'

# Publish using custom workflow
jobs:
Expand Down

0 comments on commit 1b806a4

Please sign in to comment.