chore: bump react-dom from 19.2.3 to 19.2.4 in /site (#416) #255
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Dart Pub Publish Workflow | ||
|
Check failure on line 1 in .github/workflows/dart_pub_publish.yml
|
||
| on: | ||
| workflow_call: | ||
| inputs: | ||
| dart_sdk: | ||
| required: false | ||
| type: string | ||
| default: "stable" | ||
| working_directory: | ||
| required: false | ||
| type: string | ||
| default: "." | ||
| runs_on: | ||
| required: false | ||
| type: string | ||
| default: "ubuntu-latest" | ||
| timeout_minutes: | ||
| required: false | ||
| type: number | ||
| default: 5 | ||
| # Deprecated, will be used if passed in but using the "Setup Dart" action is recommended | ||
| secrets: | ||
| pub_credentials: | ||
| required: true | ||
| jobs: | ||
| publish: | ||
| defaults: | ||
| run: | ||
| working-directory: ${{inputs.working_directory}} | ||
| runs-on: ${{inputs.runs_on}} | ||
| timeout-minutes: ${{inputs.timeout_minutes}} | ||
| steps: | ||
| - name: 📚 Git Checkout | ||
| uses: actions/checkout@v6 | ||
| - name: 🎯 Setup Dart | ||
| uses: dart-lang/setup-dart@v1 | ||
| with: | ||
| sdk: ${{inputs.dart_sdk}} | ||
| - name: 📦 Install Dependencies | ||
| run: dart pub get | ||
| - name: 🔐 Setup Pub Credentials | ||
| if: ${{ secrets.pub_credentials != '' }} | ||
| run: | | ||
| mkdir -p $XDG_CONFIG_HOME/dart | ||
| echo '${{secrets.pub_credentials}}' > "$XDG_CONFIG_HOME/dart/pub-credentials.json" | ||
| - name: 🌵 Dry Run | ||
| run: dart pub publish --dry-run | ||
| - name: 📢 Publish | ||
| run: dart pub publish -f | ||