File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77jobs :
88 build-and-upload :
99 runs-on : ubuntu-latest
10-
10+
11+ permissions :
12+ contents : write # 必须添加这个权限
13+
1114 steps :
1215 - name : Checkout code
1316 uses : actions/checkout@v4
3437 - name : Upload AARs to Release (DialogFragmentUtilsLib)
3538 uses : actions/upload-release-asset@v1
3639 env :
37- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
40+ GITHUB_TOKEN : ${{ github.token }}
3841 with :
3942 upload_url : ${{ github.event.release.upload_url }}
4043 asset_path : DialogFragmentUtilsLib/build/outputs/aar/DialogFragmentUtilsLib-release.aar
4447 - name : Upload AARs to Release (DialogUtilsLib)
4548 uses : actions/upload-release-asset@v1
4649 env :
47- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
50+ GITHUB_TOKEN : ${{ github.token }}
4851 with :
4952 upload_url : ${{ github.event.release.upload_url }}
5053 asset_path : DialogUtilsLib/build/outputs/aar/DialogUtilsLib-release.aar
You can’t perform that action at this time.
0 commit comments