@@ -13,7 +13,7 @@ This Action authenticate with X-Developer server by GitHub secrets `APPID` and `
1313
1414Enter [ X-Developer Site] ( https://x-developer.cn ) and register an account for free.
1515
16- Get your ` APPID ` ` APPKEY ` from [ config your client page ] ( https://x-developer.cn/projects/client ) .
16+ Get your ` APPID ` ` APPKEY ` from [ API ] ( https://x-developer.cn/accounts/api ) page .
1717
1818### Create Your Team
1919
@@ -22,12 +22,14 @@ Get your `APPID` `APPKEY` from [config your client page](https://x-developer.cn/
2222
2323> This GitHub Action is free for all the users.
2424
25- Once you created a project, check your ` TEAMID ` from [ data source page ] ( https://x-developer.cn/projects/sources ) .
25+ Once you created a project, check your ` TEAMID ` from [ API ] ( https://x-developer.cn/accounts/api ) page .
2626
2727### Create GitHub Secrets
2828
2929Enter your repository setting -> secrets, create ` APPID ` ` APPKEY ` ` TEAMID ` and specify the values.
3030
31+ > You could create ` APPID ` and ` APPKEY ` in organization ` secrets ` if you're working in an organization.
32+
3133### Config Action
3234
3335```
@@ -36,29 +38,23 @@ name: X-Developer Analysis Action
3638on:
3739 push:
3840 branches: [ master ]
39- pull_request:
40- branches: [ master ]
4141
4242jobs:
4343 build:
4444 runs-on: ubuntu-latest
4545
4646 steps:
47- # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
4847 - uses: actions/checkout@v1
4948
50- # Setup Python Environment
5149 - name: Setup Python 2.7
5250 uses: actions/setup-python@v1
5351 with:
54- python-version: 2.7.17
52+ python-version: 2.7.18
5553
56- # Install X-Developer Client
57- - name: Install X-Developer Command Line Client
54+ - name: Install X-Developer client
5855 run: pip install xdclient
5956
60- # Runs a set of commands using the runners shell
61- - name: Run analysis
57+ - name: Run X-Developer analysis
6258 env:
6359 APPID: ${{ secrets.APPID }}
6460 APPKEY: ${{ secrets.APPKEY }}
0 commit comments