@@ -11,43 +11,42 @@ jobs:
1111 runs-on : ubuntu-latest
1212 timeout-minutes : 5
1313
14+ permissions :
15+ contents : write
16+
1417 steps :
1518 - name : " Checkout"
16- uses : actions/checkout@v4
19+ uses : actions/checkout@v6
1720
18- - name : " Setup Node 22 "
19- uses : actions/setup-node@v4
21+ - name : " Setup Node 24 "
22+ uses : actions/setup-node@v6
2023 with :
21- node-version : 22
22- cache : npm
24+ node-version : 24
2325
2426 - name : " Install"
2527 run : |
26- npm install
28+ npm ci
2729
2830 - name : " Update Manifest Version"
2931 if : ${{ github.event_name == 'release' }}
30- uses : cssnr/update-json-value-action@v1
32+ uses : cssnr/update-json-value-action@v2
3133
3234 - name : " Build"
3335 run : |
3436 npm run build
3537
3638 - name : " Upload to Actions"
3739 if : ${{ github.event_name == 'workflow_dispatch' }}
38- uses : actions/upload-artifact@v4
40+ uses : actions/upload-artifact@v6
3941 with :
4042 name : artifacts
4143 path : web-ext-artifacts/
4244
4345 - name : " Upload to Release"
4446 if : ${{ github.event_name == 'release' }}
45- uses : svenstaro /upload-release-action@v2
47+ uses : cssnr /upload-release-action@v1
4648 with :
47- file : web-ext-artifacts/*
48- tag : ${{ github.ref }}
49- overwrite : true
50- file_glob : true
49+ globs : web-ext-artifacts/*
5150
5251 - name : " Update Release Notes Action"
5352 if : ${{ github.event_name == 'release' }}
@@ -59,10 +58,11 @@ jobs:
5958 - name : " Package Changelog Action"
6059 if : ${{ github.event_name == 'release' }}
6160 continue-on-error : true
62- uses : cssnr/package-changelog-action@v1
61+ uses : cssnr/package-changelog-action@v2
6362
6463 - name : " Send Failure Notification"
6564 if : ${{ failure() && github.event_name == 'release' }}
66- uses : sarisia/actions-status-discord@v1
65+ uses : sarisia/actions-status-discord@eb045afee445dc055c18d3d90bd0f244fd062708 # v1.16.0
6766 with :
6867 webhook : ${{ secrets.DISCORD_WEBHOOK }}
68+ description : ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
0 commit comments