-
-
Notifications
You must be signed in to change notification settings - Fork 625
41 lines (40 loc) · 1.27 KB
/
release_packages.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: Release (packages)
on:
release:
types: [created]
tags:
- v-packages-*
jobs:
publishing_client:
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@v2
- name: 'graphql publish to to Pub.dev'
uses: k-paxian/dart-package-publisher@master
with:
credentialJson: ${{ secrets.CREDENTIAL_JSON }}
flutter: false
skipTests: true
force: true
dryRunOnly: ${{ github.event_name != 'release' }}
relativePath: './packages/graphql/'
publishing_flutter:
runs-on: ubuntu-latest
needs:
- publishing_client
steps:
- name: 'Checkout'
uses: actions/checkout@v2
# FIXME: when we bump a new release, we can have problem
# in dry mode because the new release is not on the pub.dev
# yet
# TODO: we need to have some bump function for dart in the changelog.dat tool.
- name: 'graphql_flutter publish to to Pub.dev'
uses: k-paxian/dart-package-publisher@master
with:
credentialJson: ${{ secrets.CREDENTIAL_JSON }}
flutter: false
skipTests: true
dryRunOnly: ${{ github.event_name != 'release' }}
relativePath: './packages/graphql_flutter/'