File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 1515 - full
1616
1717 steps :
18+ - name : Generate token
19+ uses : tibdex/github-app-token@v1
20+ id : generate-token
21+ with :
22+ app_id : ${{ secrets.BOT_APP_ID }}
23+ private_key : ${{ secrets.BOT_PRIVATE_KEY }}
24+
1825 - uses : actions/checkout@v3
1926
2027 - uses : shivammathur/setup-php@v2
4249 - name : Run
4350 run : composer run build -- $REMOTE $PACKAGE --type=$TYPE --unstable
4451 env :
45- REMOTE : https://${{ github.actor }}:${{ secrets.ROOTS_BOT_ACCESS_TOKEN }}@github.com/${{ github.repository_owner }}/${{ secrets.PACKAGE_NAME }}.git
52+ REMOTE : https://${{ github.actor }}:${{ steps.generate-token.outputs.token }}@github.com/${{ github.repository_owner }}/${{ secrets.PACKAGE_NAME }}.git
4653 PACKAGE : ${{ github.repository_owner }}/${{ secrets.PACKAGE_NAME }}
4754 TYPE : ${{ matrix.release-type }}
You can’t perform that action at this time.
0 commit comments