diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b4e1a36..1c46c5e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -2,7 +2,7 @@ name: Publish to pub.dev on: repository_dispatch: - types: [master_workflow_completed] + types: [main_workflow_completed] workflow_dispatch: # push: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d558681..6370b53 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,6 +9,7 @@ on: push: branches-ignore: - "**" # Ignore all branches by default + workflow_dispatch: jobs: build: @@ -39,7 +40,7 @@ jobs: run: dart --enable-experiment=macros test test/singleton_macro_test.dart - name: Check Branch and Trigger Workflow - if: ${{ github.event_name == 'push' }} + # if: ${{ github.event_name == 'push' }} run: | BRANCH="${{ github.event.ref }}" if [[ "${BRANCH}" =~ ^refs/heads/ ]]; then diff --git a/pubspec.yaml b/pubspec.yaml index ce6d141..8f592e6 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -22,7 +22,6 @@ dev_dependencies: # Additional metadata screenshots: - - description: Example output of the Singleton macro applied to a class. path: screenshots/screenshot1.png - description: Demonstration of the Singleton macro in use.