diff --git a/.github/workflows/code_quality.yml b/.github/workflows/code_quality.yml index 8de66f9..5c13c6c 100644 --- a/.github/workflows/code_quality.yml +++ b/.github/workflows/code_quality.yml @@ -26,21 +26,7 @@ jobs: - uses: actions/checkout@v4 - uses: subosito/flutter-action@v2 - uses: bluefireteam/melos-action@v3 -# - name: Checkout -# uses: actions/checkout@v3 -# - name: Setup Dart -# uses: dart-lang/setup-dart@v1 -# with: -# sdk: stable -# - name: Setup Flutter -# uses: subosito/flutter-action@v3 -# with: -# channel: stable -# -# - name: Install Melos -# run: dart pub global activate melos -# - name: Bootstrap Melos -# run: melos bootstrap + - name: Install Dependencies run: melos exec -- "dart pub get" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f97cf97..075984b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,4 +1,4 @@ -name: Stable release 🕊️📦 +name: Stable release 🕊️📦✅ on: release: @@ -10,15 +10,16 @@ on: jobs: test: uses: gibahjoe/openapi-generator-dart/.github/workflows/code_quality.yml@master + secrets: inherit publish: name: Publish Packages with Melos runs-on: ubuntu-latest needs: [test] steps: - uses: actions/checkout@v4 - - uses: dart-lang/setup-dart@v1 + - uses: subosito/flutter-action@v2 - uses: bluefireteam/melos-action@v3 - - name: Authenticate with Pub - run: echo "${{ secrets.PUB_CREDENTIAL_JSON }}" > ~/.pub-cache/credentials.json + - uses: dart-lang/setup-dart@v1 + - name: Publish run: melos publish --no-dry-run --yes diff --git a/release-please-config.json b/release-please-config.json index 712ac80..c3651b5 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -14,9 +14,6 @@ "component": "openapi-generator-cli" } }, - "bump-minor-pre-major": false, - "bump-patch-for-minor-pre-major": false, - "skip-github-release": true, "plugins": [ { "type": "linked-versions",