{"id":294504,"date":"2024-11-22T20:09:13","date_gmt":"2024-11-22T12:09:13","guid":{"rendered":"https:\/\/lrxjmw.cn\/usysrjxgqlqq.html"},"modified":"2024-11-22T20:09:13","modified_gmt":"2024-11-22T12:09:13","slug":"usysrjxgqlqq","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/usysrjxgqlqq.html","title":{"rendered":"ubuntu github \u4f7f\u7528 \u6df1\u5165\u89e3\u6790 GitHub Actions\uff1a\u8f7b\u91cf\u4e14\u5de7\u5999\u7684\u6301\u7eed\u96c6\u6210\u670d\u52a1"},"content":{"rendered":"

\u6982\u5ff5<\/p>\n

GitHubActions\u662fGitHub\u4e8e2018\u5e7410\u6708\u63a8\u51fa\u7684\u6301\u7eed\u96c6\u6210\u670d\u52a1\u3002<\/p>\n

\u8fd9\u4e48\u4f55\u8c13\u6301\u7eed\u96c6\u6210\u5462\uff1f<\/p>\n

\u6301\u7eed\u96c6\u6210<\/p>\n

\u6301\u7eed\u96c6\u6210\uff08Continuousintegration\uff09\uff0c\u4e5f\u5c31\u662f\u6211\u4eec\u5e38\u5e38\u8bf4\u7684CI\u3002\u5b83\u662f\u4e00\u79cd\u8f6f\u4ef6\u5f00\u53d1\u5b9e\u8df5\uff0c\u53ef\u4ee5\u8ba9\u56e2\u961f\u5728\u6301\u7eed\u7684\u57fa\u7840\u4e0a\u6536\u5230\u53cd\u9988\u5e76\u8fdb\u884c\u6539\u8fdb\uff0c\u6bcb\u987b\u7b49\u5230\u5f00\u53d1\u540e\u671f\u624d\u5bfb\u89c5\u548c\u4fee\u8865\u7f3a\u9677\uff0c\u5e38\u8fd0\u7528\u4e8e\u8f6f\u4ef6\u7684\u654f\u6377\u5f00\u53d1\u4e2d\u3002Jenkins\u5c31\u662f\u6211\u4eec\u5e38\u7528\u7684\u6301\u7eed\u96c6\u6210\u5e73\u53f0\u5de5\u5177\u3002<\/p>\n

\u7406\u89e3\u4e86\u6301\u7eed\u96c6\u6210\u7684\u6982\u5ff5\u4ee5\u540e\uff0c\u4e0b\u8fb9\u6211\u7b80\u5355\u8bb2\u4e00\u4e0b\u4f7f\u7528\u6301\u7eed\u96c6\u6210\u7684\u76ca\u5904\uff1a<\/p>\n

Actions<\/p>\n

\u76f8\u6bd4\u8f83\u6301\u7eed\u96c6\u6210\u8fd9\u4e2a\u5927\u6982\u5ff5\uff0cGitHub\u63a8\u51fa\u7684Actions\u5c31\u53d8\u5f97\u5341\u5206\u8f7b\u91cf\u548c\u5de7\u5999\u4e86\u3002Actions\u5c31\u76f8\u5f53\u4e8e\u6301\u7eed\u96c6\u6210\u4e2d\u7684\u67d0\u4e2a\u7279\u5b9a\u529f\u80fd\u7684\u811a\u672c\uff0c\u901a\u8fc7\u591a\u4e2aactions\u7684\u81ea\u7531\u7ec4\u5408\uff0c\u4fbf\u53ef\u5b9e\u73b0\u81ea\u5df1\u7279\u5b9a\u529f\u80fd\u7684\u6301\u7eed\u96c6\u6210\u670d\u52a1\u3002<\/p>\n

\u540c\u65f6ubuntu github \u4f7f\u7528<\/strong>\u865a\u62df\u4e3b\u673a linux\uff0cGithub\u4e3a\u4e86\u4fbf\u6377\u4f60\u4eec\u4f7f\u7528Actions\uff0c\u8fd8\u4e13\u95e8\u505a\u4e86\u4e00\u4e2aActions\u5e02\u573a,\u771f\u7684\u662f\u5341\u5206\u4fbf\u6377\uff01<\/p>\n

ubuntu github \u4f7f\u7528_\u4f7f\u7528\u82f1\u8bed\u600e\u4e48\u8bf4_\u4f7f\u7528\u706d\u706b\u5668\u5bf9\u51c6\u706b\u7130\u7684\u4ec0\u4e48\u90e8\u4f4d<\/p>\n

GitHubActions\u6709\u4e00\u4e9b\u81ea\u5df1\u7684\u672f\u8bed:<\/p>\n

workflow\u6587\u4ef6<\/p>\n

GitHubActions\u7684\u914d\u7f6e\u6587\u4ef6\u79f0\u4f5cworkflow\u6587\u4ef6\uff0c\u50a8\u5b58\u5728\u4ee3\u7801\u5e93\u623f\u7684.github\/workflows\u76ee\u5f55,\u5982\u53f3\u56fe\u6240\u793a\uff1a<\/p>\n

ubuntu github \u4f7f\u7528_\u4f7f\u7528\u82f1\u8bed\u600e\u4e48\u8bf4_\u4f7f\u7528\u706d\u706b\u5668\u5bf9\u51c6\u706b\u7130\u7684\u4ec0\u4e48\u90e8\u4f4d<\/p>\n

workflow\u6587\u4ef6\u91c7\u7528YAML\u683c\u5f0fubuntu github \u4f7f\u7528<\/strong>\uff0c\u6587\u4ef6\u540d\u53ef\u4ee5\u4efb\u610f\u53d6\uff0c\u800c\u4e14\u540e\u7f00\u540d\u7edf\u4e00\u4e3a.yml\uff0c\u4f8b\u5982\u4e0a\u56fe\u7684package.yml\u3002<\/p>\n

workflow\u6587\u4ef6\u7684\u914d\u7f6e\u6570\u7ec4\u7279\u522b\u591a\uff0c\u8be6\u89c1\u5b98\u65b9\u6587\u6863\u3002\u4e0b\u8fb9\u662f\u4e00\u4e9b\u57fa\u672c\u6570\u7ec4\uff1a<\/p>\n

Actions\u7684\u5e94\u7528\u600e\u6837\u4f7f\u7528Action\u53d1\u5e03flutter\u63d2\u4ef6<\/p>\n

\u4e4b\u524d\u6211\u5199\u8fc7\u4e00\u7bc7\u300aFlutterPlugin\u63d2\u4ef6\u5f00\u53d1\u586b\u5751\u624b\u518c\u300b\uff0c\u8bb2\u7684\u5c31\u662f\u600e\u4e48\u5f00\u53d1\u4e00\u4e2aflutter\u63d2\u4ef6\u5e76\u8fdb\u884c\u53d1\u5e03\u3002\u4f46\u56e0\u4e3a\u6211\u4eec\u53d1\u5e03\u63d2\u4ef6\u5230flutter\u63d2\u4ef6\u5e73\u53f0\u987b\u8981\u8bbf\u95ee\u5185\u7f51\uff0c\u5e76\u4e14\u8fd8\u987b\u8981\u7ed9\u547d\u4ee4<\/a>\u7ec8\u7aef\u8bbe\u7f6e\u4ee3\u7406\uff0c\u6240\u4ee5\u6bcf\u6b21\u7684\u53d1\u5e03\u90fd\u5341\u5206\u7684\u9ebb\u70e6\u3002<\/p>\n

\u4e00\u4e2a\u78b0\u5de7\u7684\u673a\u4f1a\uff0c\u6211\u5c31\u5728Action\u5e02\u573a\u4e2d\u53d1\u89c9\u4e86\u4e00\u4e2apublish-dart-flutter-package\u63d2\u4ef6\uff0c\u53ef\u4ee5\u4e00\u952e\u628a\u81ea\u5df1\u7684\u63d2\u4ef6\u53d1\u5e03\u5230flutter\u63d2\u4ef6\u5e73\u53f0\uff0c\u811a\u672c\u5982\u4e0b:<\/p>\n

\n

name:\u00a0Pub\u00a0Publish\u00a0plugin\non:\u00a0workflow_dispatch\njobs:\n\u00a0\u00a0publish:\n\u00a0\u00a0\u00a0\u00a0runs-on:\u00a0ubuntu-latest\n\u00a0\u00a0\u00a0\u00a0steps:\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0-\u00a0name:\u00a0Checkout\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0uses:\u00a0actions\/checkout@v1\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0-\u00a0name:\u00a0Publish\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0uses:\u00a0sakebook\/actions-flutter-pub-publisher@v1.3.0\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0with:\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0credential:\u00a0${{\u00a0secrets.CREDENTIAL_JSON\u00a0}}\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0flutter_package:\u00a0true\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0skip_test:\u00a0true\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0dry_run:\u00a0false\n<\/code><\/pre>\n<\/p>\n

\u5176\u5b9e\u4f60\u4e5f\u53ef\u4ee5\u53c2\u8003\u6211\u7684flutter_xupdate\uff0c\u5b83\u5c31\u662f\u501f\u52a9\u8fd9\u4e2aAction\u8fdb\u884c\u53d1\u5e03\u7684\u3002<\/p>\n

\u8fd9\u513f\u6211\u4eec\u53ef\u4ee5\u770b\u89c1\uff0c\u6211\u4eec\u5b9a\u4e49\u7684\u89e6\u53d1\u6761\u4ef6\u662fworkflow_dispatch\uff0c\u4e5f\u5c31\u662f\u81ea\u52a8\u89e6\u53d1\u4efb\u52a1\u6267\u884c\uff1a\u987b\u8981\u6211\u4eec\u70b9\u51fbRunworkflow=>\u9009\u62e9master\u5206\u652f=>\u70b9\u51fbRunworkflow\uff0c\u5982\u53f3\u56fe\u6240\u793a\uff1a<\/p>\n

\u4f7f\u7528\u82f1\u8bed\u600e\u4e48\u8bf4_\u4f7f\u7528\u706d\u706b\u5668\u5bf9\u51c6\u706b\u7130\u7684\u4ec0\u4e48\u90e8\u4f4d_ubuntu github \u4f7f\u7528<\/p>\n

\u8fd9\u513f\u6211\u4eec\u6ce8\u610f\u5230\u5b9a\u4e49\u4e86\u4e00\u4e2asecrets.CREDENTIAL_JSON\u5e38\u91cf\uff0c\u4e5f\u5c31\u662f\u6211\u4eec\u7684google\u5e10\u53f7\u8ba4\u8bc1\u8bc1\u4e66\uff0c\u8fd9\u513f\u987b\u8981\u6211\u4eec\u5728\u9879\u76ee\u7684Settings=>\u9009\u62e9Secrets=>\u70b9\u51fbNewrepositorysecret\u6765\u521b\u5efa\u4e00\u4e2a\u5c5e\u6027\u540d\u4e3aCREDENTIAL_JSON\u7684\u5e38\u91cf\u3002\u5bf9\u5e94\u7684\u503c\u4f60\u53ef\u4ee5\u5230\u4f60\u7684\u7528\u6237Home\u76ee\u5f55\u4e0b\u7684.pub-cache\u6587\u4ef6\u5939\u4e0b\u627e\u5230credentials.json\u6587\u4ef6\u3002<\/p>\n

ubuntu github \u4f7f\u7528_\u4f7f\u7528\u82f1\u8bed\u600e\u4e48\u8bf4_\u4f7f\u7528\u706d\u706b\u5668\u5bf9\u51c6\u706b\u7130\u7684\u4ec0\u4e48\u90e8\u4f4d<\/p>\n

\u53f3\u56fe\u662f\u6211\u6267\u884c\u4e86\u4e00\u6b21\u53d1\u5e03action\u7684\u7ed3\u679c\uff0c\u53ea\u97002\u5206\u949f\uff0c\u65e0\u9700\u79d1\u5b66\u4e0a\u7f51\u5de5\u5177\u548c\u7ed9\u547d\u4ee4\u7ec8\u7aef\u914d\u7f6e\u4ee3\u7406\uff0c\u5373\u53ef\u5b8c\u6210flutter\u63d2\u4ef6\u7684\u53d1\u5e03\uff0c\u771f\u7684\u662f\u5341\u5206\u4fbf\u6377\uff01<\/p>\n

\u4f7f\u7528\u82f1\u8bed\u600e\u4e48\u8bf4_ubuntu github \u4f7f\u7528_\u4f7f\u7528\u706d\u706b\u5668\u5bf9\u51c6\u706b\u7130\u7684\u4ec0\u4e48\u90e8\u4f4d<\/p>\n

\u600e\u6837\u4f7f\u7528Action\u6253\u5305apk<\/p>\n

\u4f5c\u4e3a\u4e00\u540dAndroid\u5f00\u53d1\uff0c\u4f60\u6709\u6ca1\u6709\u60f3\u8fc7\u6bcf\u6b21\u9012\u4ea4\u4ee3\u7801\u6216\u5219\u53d1\u5e03\u7248\u672c\u7684\u65f6\u4faf\uff0cgithub\u624d\u80fd\u5bf9\u5e94\u5e2e\u4f60\u624b\u52a8\u6253\u5305\u51fa\u4e00\u4e2aapk\uff1f<\/p>\n

\u8fd9\u6837\u4f60\u65e2\u53ef\u4ee5\u7701\u53bb\u6253\u5305apk\u7684\u65f6\u95f4\uff0c\u8fd8\u514d\u53bb\u4e86\u5e94\u7528\u5305\u7684\u7ba1\u7406\uff0c\u5c82\u4e0d\u60b2\u54c9\uff1f<\/p>\n

\u8fd9\u4e48\u6211\u4eec\u5e94\u5f53\u600e\u6837\u505a\u5462\uff1f\u4e0b\u8fb9\u5c31\u662f\u6211\u5b9e\u73b0\u7684\u4e00\u4e2aworkflow\u811a\u672c\uff0c\u4e3b\u8981\u7684\u529f\u80fd\u5c31\u662f\uff1a\u5728\u9012\u4ea4\u4ee3\u7801\u6216\u5219\u53d1\u5e03\u7248\u672c\u7684\u65f6\u4faf\uff0c\u624b\u52a8\u5efa\u7acb\u811a\u672c\u6253\u5305\u51faapk\uff0c\u540c\u65f6\u76f4\u63a5\u4e0a\u4f20\u81f3Artifacts\u50a8\u5b58\u3002<\/p>\n

\n

name:\u00a0Android\u00a0CI\non:\n\u00a0\u00a0release:\n\u00a0\u00a0\u00a0\u00a0types:\u00a0[published]\n\u00a0\u00a0push:\n\u00a0\u00a0\u00a0\u00a0branches:\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0-\u00a0master\n\u00a0\u00a0\u00a0\u00a0tags:\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0-\u00a0'2.*'\n\u00a0\u00a0pull_request:\n\u00a0\u00a0\u00a0\u00a0branches:\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0-\u00a0master\n

\u4f7f\u7528\u706d\u706b\u5668\u5bf9\u51c6\u706b\u7130\u7684\u4ec0\u4e48\u90e8\u4f4d_\u4f7f\u7528\u82f1\u8bed\u600e\u4e48\u8bf4_ubuntu github \u4f7f\u7528<\/p>\njobs:\n\u00a0\u00a0build:\n\u00a0\u00a0\u00a0\u00a0runs-on:\u00a0ubuntu-latest\n\u00a0\u00a0\u00a0\u00a0steps:\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0-\u00a0uses:\u00a0actions\/checkout@v2\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0-\u00a0name:\u00a0set\u00a0up\u00a0JDK\u00a01.8\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0uses:\u00a0actions\/setup-java@v1\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0with:\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0java-version:\u00a01.8\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0-\u00a0name:\u00a0release\u00a0apk\u00a0sign\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0run:\u00a0|\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0echo\u00a0\"\u7ed9apk\u589e\u52a0\u7b7e\u540d\"\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0cp\u00a0$GITHUB_WORKSPACE\/.github\/workflows\/android.keystore\u00a0$GITHUB_WORKSPACE\/app\/android.keystore\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0sed\u00a0'$aRELEASE_STORE_FILE=.\/android.keystore'\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0$GITHUB_WORKSPACE\/gradle.properties\u00a0-i\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0-\u00a0name:\u00a0build\u00a0with\u00a0gradle\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0run:\u00a0|\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0echo\u00a0\"\u5f00\u59cb\u8fdb\u884crelease\u6784\u5efa\"\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0chmod\u00a0+x\u00a0gradlew\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0.\/gradlew\u00a0app:assembleRelease\n

ubuntu github \u4f7f\u7528_\u4f7f\u7528\u82f1\u8bed\u600e\u4e48\u8bf4_\u4f7f\u7528\u706d\u706b\u5668\u5bf9\u51c6\u706b\u7130\u7684\u4ec0\u4e48\u90e8\u4f4d<\/p>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0-\u00a0name\u00a0:\u00a0upload\u00a0apk\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0uses:\u00a0actions\/upload-artifact@master\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0if:\u00a0always()\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0with:\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0name:\u00a0xupdate_apk\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0path:\u00a0${{\u00a0github.workspace\u00a0}}\/app\/build\/outputs\/apk\/release\n<\/code><\/pre>\n<\/p>\n

\u8be6\u5c3d\u914d\u7f6e\u53ef\u4ee5\u53c2\u8003\u6211\u7684XUpdate\u4e2d\u7684\u914d\u7f6e\u3002<\/p>\n

\u8fd9\u513f\u6211\u4eec\u53ef\u4ee5\u770b\u89c1\uff0c\u6211\u4eec\u5b9a\u4e49\u7684\u89e6\u53d1\u6761\u4ef6\u662frelease\uff0cpush\u548cpull_request\uff0c\u89e6\u53d1\u7684\u5206\u652f\u662fmaster\uff0ctags\u662f2.*\u5f00\u5934\u7684\u3002<\/p>\n

\u6574\u4e2a\u4efb\u52a1\u4e3b\u8981\u5206\u4e3a4\u4e2a\u6b65\u9aa4\uff1a<\/p>\n

\u6700\u540e\u6267\u884c\u7684\u7597\u6548\u5982\u4e0b\uff1a<\/p>\n

\u600e\u6837\u4f7f\u7528Action\u6765\u8fd8\u51fb\u767d\u5ad6\u515a<\/p>\n

\u6211\u5728\u505a\u5f00\u6e90\u9879\u76ee\u7684\u65f6\u4faf\uff0c\u5e38\u5e38\u624d\u80fd\u89c1\u5230\u4e00\u4e9b\u4e2a\u65e0\u540d\u5927\u53f7\uff08\u767d\u5ad6\u515a\uff09\uff0c\u9879\u76ee\u770b\u90fd\u4e0d\u770b\u5c31\u63d0\u4e00\u4e9b\u6ca1\u6709\u4efb\u4f55\u4ef7\u503c\u7684issues\uff0c\u4e4b\u540e\u4f60\u597d\u5fc3\u597d\u610f\u5730\u56de\u590d\u4e86\uff0c\u4ed6\u5374\u6d88\u5931\u4e0d\u89c1\u4e86...\u771f\u7684\u662f\u8ba9\u4eba\u6068\u5f97\u7259\u6414\u75d2\u7684\uff01<\/p>\n

\u662f\u7684\uff0c\u4f60\u6ca1\u6709\u770b\u9519\uff0cAction\u7adf\u7136\u8fd8\u53ef\u4ee5\u62ff\u6765\u8fd8\u51fb\u767d\u5ad6\u515a\uff01\u8fd9\u4e5f\u662f\u4e4b\u524d\u6211\u5728\u901b\u9e48\u9e55\u7684\u65f6\u4faf\u78b0\u5de7\u542c\u5230\u4e00\u7bc7\u6587\u7ae0\u300a\u274c\u5bf9\u767d\u5ad6\u602aSAYNO!!!\u2014\u2014\u5982\u4f55\u5728GitHub\u4e0a\u5236\u6b62\u5351\u9119\u767d\u5ad6\u300b\u53d1\u73b0\u7684\u3002<\/p>\n

\u8fd9\u4e48\u4ed6\u662f\u5982\u4f55\u505a\u7684\u5462\uff1f\u867d\u7136\u4e5f\u5f88\u7b80\u5355\uff0c\u5c31\u662f\u8bbe\u7f6e\u89e6\u53d1\u7684\u6761\u4ef6\u662fissues\u7684\u521b\u5efa\uff0c\u5728\u521b\u5efa\u7684\u65f6\u4faf\u53bb\u67e5\u8be2\u4e00\u4e0bissues\u7684\u521b\u5efa\u8005\u662f\u5426star\u6216\u5219fork\u4e86\u8be5\u5e93\u623flinux\u4f0a\u7538\u56ed\uff0c\u5047\u5982\u6ee1\u8db3\u6761\u4ef6\u5219\u4e0d\u505a\u5904\u7406\uff0c\u5426\u5219\u5c06\u624b\u52a8\u9501\u4f4f\u5e76\u5173\u6389issues\u3002<\/p>\n

\u5176\u5b9e\uff0c\u90a3\u4f4d\u4f5c\u8005\u4e5f\u662f\u628a\u8fd9\u4e2a\u7279\u522b\u9a9a\u7684Action\u5f04\u6210\u4e86\u4e00\u4e2a\u63d2\u4ef6\uff0c\u63d2\u4ef6\u7684\u5730\u5740\u662f\uff1a\uff0c\u4f7f\u7528\u4e0a\u53bb\u5341\u5206\u7b80\u5355\u3002<\/p>\n

\u4ee5\u4e0b\u662f\u6211\u7b80\u5355\u4f7f\u7528\u7684\u811a\u672c\u6848\u4f8b\uff1a<\/p>\n

\n

name:\u00a0No\u00a0Free\u00a0usage\u00a0issue\u00a0checker\n

\u4f7f\u7528\u706d\u706b\u5668\u5bf9\u51c6\u706b\u7130\u7684\u4ec0\u4e48\u90e8\u4f4d_ubuntu github \u4f7f\u7528_\u4f7f\u7528\u82f1\u8bed\u600e\u4e48\u8bf4<\/p>\non:\n\u00a0\u00a0issues:\n\u00a0\u00a0\u00a0\u00a0types:\u00a0[opened,\u00a0reopened]\njobs:\n\u00a0\u00a0build:\n\u00a0\u00a0\u00a0\u00a0runs-on:\u00a0ubuntu-latest\n\u00a0\u00a0\u00a0\u00a0steps:\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0-\u00a0uses:\u00a0actions\/checkout@v2\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0-\u00a0name:\u00a0Check\u00a0issue\u00a0actor\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0uses:\u00a0fluttercandies\/no-free-usage-action@v1.0.1\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0with:\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0token:\u00a0${{\u00a0secrets.GITHUB_TOKEN\u00a0}}\u00a0\u00a0#\u00a0\u7531GitHub\u63d0\u4f9b\u7684\u4e34\u65f6Token\uff0c\u5fc5\u987b\u5728\u6b64\u5904\u8fdb\u884c\u4f20\u9012\uff0c\u4e14\u5fc5\u987b\u4e3a\u8fd9\u4e2a\u503c\u3002\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0forked:\u00a0'--no-forked'\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0words:\u00a0\u00a0To\u00a0support\u00a0our\u00a0project,\u00a0please\u00a0file\u00a0the\u00a0issue\u00a0after\u00a0you\u00a0starred\u00a0the\u00a0repo.\u00a0Thanks!\u00a0\n<\/code><\/pre>\n<\/p>\n

\u8fd9\u513f\uff0c\u6211\u8bbe\u7f6e\u7684\u89e6\u53d1\u6761\u4ef6\u662fissues\u7684\u6253\u5f00\u548c\u91cd\u65b0\u6253\u5f00\u98ce\u6ce2\uff0c\u8bbe\u7f6e\u4e0d\u5f3a\u5236fork\uff0c\u800c\u4e14\u987b\u8981star\u3002\u5f53\u4e00\u53ea\u91ce\u751f\u7684\u767d\u5ad6\u515a\u51fa\u6ca1\u5e76\u5728\u4f60\u7684\u9879\u76ee\u4e0a\u63d0issues\u7684\u65f6\u4faf\uff0c\u624d\u4f1a\u89e6\u53d1\u53f3\u56fe\u7684\u7597\u6548\uff1a<\/p>\n

\u4f7f\u7528\u82f1\u8bed\u600e\u4e48\u8bf4_\u4f7f\u7528\u706d\u706b\u5668\u5bf9\u51c6\u706b\u7130\u7684\u4ec0\u4e48\u90e8\u4f4d_ubuntu github \u4f7f\u7528<\/p>\n

\u89c1\u5230\u4e0a\u56fe\u7684\u7597\u6548\uff0c\u662f\u4e0d\u662f\u500d\u611f\u5f88\u60ca\u559c\uff0c\u5f88\u524c\u6fc0\uff1f\u4f60\u4ee5\u4e3a\u4f60\u505a\u767d\u5ad6\u515a\u6211\u5c31\u6ca1\u6709\u529e\u6cd5\u6cbb\u4f60\uff1f\u54c8\u54c8\uff0c\u7ed9\u6211\u8001\u5b9e\u70b9\uff01<\/p>\n

\u6700\u540e<\/p>\n

\u90fd\u542c\u5230\u8fd9\u91cc\u4e86\uff0c\u8fd8\u4e0d\u8d76\u5feb\u4e09\u8fde\u652f\u6301\u4e00\u4e0b\uff0c\u83ab\u975e\u4f60\u4e5f\u60f3\u505a\u767d\u5ad6\u515a\u5417\uff1f<\/p>\n","protected":false},"excerpt":{"rendered":"

Actions\u7684\u5e94\u7528\u5982\u4f55\u4f7f\u7528Action\u53d1\u5e03flutter\u63d2\u4ef6\uff0c\u8bb2\u7684\u5c31\u662f\u5982\u4f55\u5f00\u53d1\u4e00\u4e2aflutter\u63d2\u4ef6\u5e76\u8fdb\u884c\u53d1\u5e03\u3002\u4e0b\u56fe\u662f\u6211\u6267\u884c\u4e86\u4e00\u6b21\u53d1\u5e03action\u7684\u7ed3\u679c\uff0c\u53ea\u97002\u5206\u949f\uff0c\u65e0\u9700\u79d1\u5b66\u4e0a\u7f51\u5de5\u5177\u548c\u7ed9\u547d\u4ee4\u7ec8\u7aef\u914d\u7f6e\u4ee3\u7406\uff0c\u5373\u53ef\u5b8c\u6210flutter\u63d2\u4ef6\u7684\u53d1\u5e03\uff0c\u771f\u7684\u662f\u975e\u5e38\u65b9\u4fbf\uff01<\/p>\n","protected":false},"author":1,"featured_media":294505,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[988],"tags":[4398],"class_list":["post-294504","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tougao","tag-fcxjcga"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/294504","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=294504"}],"version-history":[{"count":0,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/294504\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/294505"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=294504"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=294504"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=294504"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}