@@ -11,34 +11,33 @@ jobs:
1111 runs-on : ubuntu-latest
1212 if : ${{ github.event.workflow_run.conclusion == 'success' }}
1313 steps :
14- - uses : actions/checkout@v3
14+ - uses : actions/checkout@v4
1515 with :
1616 fetch-depth : 0
1717 ref : ${{ github.event.workflow_run.head_branch }}
18- - uses : actions/setup-node@v3
18+ - uses : actions/setup-node@v4
1919 with :
2020 node-version : 18
2121 cache : ' npm'
2222 registry-url : https://registry.npmjs.org/
2323 - run : npm ci
2424 - run : git config user.name "cerebral[bot]"
2525 - run : git config user.email "136202705+cerebral[bot]@users.noreply.github.com"
26- - name : Generate token
27- id : generate_token
28- uses : tibdex/github-app-token@v1
26+ - name : Create token
27+ id : create_token
28+ uses : tibdex/github-app-token@v2
2929 with :
3030 app_id : ${{ secrets.APP_ID }}
3131 private_key : ${{ secrets.PRIVATE_KEY }}
32- repository : cerebral/repo-cooker
3332 - name : Release packages
3433 run : npm run release -- --no-parallel --print-release
3534 if : github.event_name != 'pull_request'
3635 env :
37- REPO_COOKER_GITHUB_TOKEN : ${{ steps.generate_token .outputs.token }}
36+ REPO_COOKER_GITHUB_TOKEN : ${{ steps.create_token .outputs.token }}
3837 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
3938 - name : Publish vscode extension to Visual Studio Marketplace
4039 if : github.event_name != 'pull_request' && github.event.workflow_run.head_branch == 'master'
41- uses : HaaLeo/publish-vscode-extension@v1
40+ uses : HaaLeo/publish-vscode-extension@v2
4241 with :
4342 pat : ${{ secrets.VS_MARKETPLACE_TOKEN }}
4443 registryUrl : https://marketplace.visualstudio.com
0 commit comments