This repository was archived by the owner on May 15, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +6
-10
lines changed Expand file tree Collapse file tree 3 files changed +6
-10
lines changed Original file line number Diff line number Diff line change 62
62
- run : dart pub run grinder protobuf
63
63
- name : Deploy
64
64
run : dart pub run grinder pkg-github-release pkg-github-linux
65
- env :
66
- GH_TOKEN : " ${{ secrets.GH_TOKEN }}"
67
- GH_USER : sassbot
65
+ env : {GH_BEARER_TOKEN: "${{ github.token }}"}
68
66
69
67
deploy_github_macos :
70
68
name : " Deploy Github: Mac OS"
81
79
- run : dart pub run grinder protobuf
82
80
- name : Deploy
83
81
run : dart pub run grinder pkg-github-macos
84
- env :
85
- GH_TOKEN : " ${{ secrets.GH_TOKEN }}"
86
- GH_USER : sassbot
82
+ env : {GH_BEARER_TOKEN: "${{ github.token }}"}
87
83
88
84
deploy_github_windows :
89
85
name : " Deploy Github: Windows"
100
96
- run : dart pub run grinder protobuf
101
97
- name : Deploy
102
98
run : dart pub run grinder pkg-github-windows
103
- env :
104
- GH_TOKEN : " ${{ secrets.GH_TOKEN }}"
105
- GH_USER : sassbot
99
+ env : {GH_BEARER_TOKEN: "${{ github.token }}"}
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ dependencies:
22
22
typed_data : ^1.1.0
23
23
24
24
dev_dependencies :
25
- cli_pkg : ^1.0.0-beta.8
25
+ cli_pkg : ^1.2.0
26
26
grinder : ^0.8.0
27
27
protoc_plugin : ^19.0.0
28
28
path : ^1.6.0
Original file line number Diff line number Diff line change @@ -10,6 +10,8 @@ import 'package:grinder/grinder.dart';
10
10
import 'utils.dart' ;
11
11
12
12
main (List <String > args) {
13
+ pkg.githubBearerToken.value = Platform .environment["GH_BEARER_TOKEN" ];
14
+
13
15
pkg.addGithubTasks ();
14
16
grind (args);
15
17
}
You can’t perform that action at this time.
0 commit comments