diff --git a/.github/workflows/create_tag.yml b/.github/workflows/create_tag.yml index 7331f9f..264c15e 100644 --- a/.github/workflows/create_tag.yml +++ b/.github/workflows/create_tag.yml @@ -20,7 +20,10 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v2 with: - node-version: 16 + node-version: 18 + - uses: dart-lang/setup-dart@v1 + - name: Validate + run: dart pub publish --dry-run - name: Automated version bump uses: impaktfull/gh_action_dart_conventional_release@main with: @@ -29,3 +32,5 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: cat pubspec.yaml run: cat ./pubspec.yaml + - name: Publish + run: dart pub publish --force