Skip to content

Commit

Permalink
chore
Browse files Browse the repository at this point in the history
  • Loading branch information
mg3994 committed Jul 17, 2024
2 parents a5d07f8 + 7f92bf2 commit 498c4c6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Publish to pub.dev

on:
repository_dispatch:
types: [master_workflow_completed]
types: [main_workflow_completed]

workflow_dispatch:
# push:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
push:
branches-ignore:
- "**" # Ignore all branches by default
workflow_dispatch:

jobs:
build:
Expand Down Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 498c4c6

Please sign in to comment.