You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: site/docs/workflows/dart_pub_publish.md
+4-18Lines changed: 4 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,11 +10,13 @@ We use this workflow to publish a Dart package to [pub.dev](https://pub.dev).
10
10
11
11
The Dart Pub Publish workflow consists of the following steps:
12
12
13
-
1.Install dependencies
14
-
2.Setup pub credentials
13
+
1.Setup Dart, including pub.dev publish token
14
+
2.Install dependencies
15
15
3. Dry run
16
16
4. Publish
17
17
18
+
This workflow uses the automated publishing of packages to pub.dev which is part of the [Dart documentation](https://dart.dev/tools/pub/automated-publishing). Before using this workflow ensure that you have configured your package on pub.dev correctly to allow the publish process to complete.
19
+
18
20
## Inputs
19
21
20
22
### `dart_sdk`
@@ -35,22 +37,8 @@ The Dart Pub Publish workflow consists of the following steps:
35
37
36
38
**Default**`"ubuntu-latest"`
37
39
38
-
## Secrets
39
-
40
-
### `pub_credentials`
41
-
42
-
**Required** The pub credentials needed for publishing. This can be retrieved by reading out your `pub-credentials.json` on your system after you ran a `dart pub login`, the location of the file is different per operating system:
We recommend using [GitHub Secrets](https://docs.github.com/en/actions/security-guides/encrypted-secrets) for safely storing and reading the credentials.
Copy file name to clipboardExpand all lines: site/docs/workflows/flutter_pub_publish.md
+3-15Lines changed: 3 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,10 +11,12 @@ We use this workflow to publish a Flutter package to [pub.dev](https://pub.dev).
11
11
The Flutter Pub Publish workflow consists of the following steps:
12
12
13
13
1. Install dependencies
14
-
2. Setup pub credentials
14
+
2. Setup Flutter & Dart, including pub.dev publish token
15
15
3. Dry run
16
16
4. Publish
17
17
18
+
This workflow uses the automated publishing of packages to pub.dev which is part of the [Dart documentation](https://dart.dev/tools/pub/automated-publishing). Before using this workflow ensure that you have configured your package on pub.dev correctly to allow the publish process to complete.
19
+
18
20
## Inputs
19
21
20
22
### `flutter_channel`
@@ -41,18 +43,6 @@ The Flutter Pub Publish workflow consists of the following steps:
41
43
42
44
**Default**`"ubuntu-latest"`
43
45
44
-
## Secrets
45
-
46
-
### `pub_credentials`
47
-
48
-
**Required** The pub credentials needed for publishing. This can be retrieved by reading out your `pub-credentials.json` on your system after you ran a `flutter pub login`. The location of the file is different per operating system:
We recommend using [GitHub Secrets](https://docs.github.com/en/actions/security-guides/encrypted-secrets) for safely storing and reading the credentials.
0 commit comments