perf(gql_http_link): improve json decoder performance (#464) #181
This file contains 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: Publish Alpha | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
container: | |
image: dart:latest | |
if: github.ref == 'refs/heads/master' | |
env: | |
PACKAGES: 'gql,gql_code_builder_serializers,gql_build,gql_code_builder,gql_dedupe_link,gql_dio_link,gql_exec,gql_http_link,gql_link,gql_pedantic,gql_transform_link,gql_error_link,gql_websocket_link' | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v2 | |
- name: Activate multipack | |
run: | | |
echo "$HOME/.pub-cache/bin" >> $GITHUB_PATH | |
dart pub global activate multipack | |
- name: Bump to alpha version | |
run: | | |
multipack --only $PACKAGES pubspec bump-alpha | |
- name: Sync package versions | |
run: | | |
multipack --only $PACKAGES pubspec sync-versions | |
- name: Publish packages | |
env: | |
PUB_CREDENTIALS_JSON: ${{ secrets.PUB_CREDENTIALS_JSON }} | |
run: | | |
mkdir -p $XDG_CONFIG_HOME/dart/ | |
echo $PUB_CREDENTIALS_JSON > $XDG_CONFIG_HOME/dart/pub-credentials.json | |
mkdir -p $HOME/.config/dart/ | |
echo $PUB_CREDENTIALS_JSON > $HOME/.config/dart/pub-credentials.json | |
multipack --only $PACKAGES pub publish --force |