File tree Expand file tree Collapse file tree 4 files changed +25
-19
lines changed
Expand file tree Collapse file tree 4 files changed +25
-19
lines changed Original file line number Diff line number Diff line change 1010 build :
1111 runs-on : ubuntu-latest
1212 steps :
13- - uses : actions/checkout@v4
13+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
14+ with :
15+ persist-credentials : false
1416 - name : Install Node.js
15- uses : actions/setup-node@v4
17+ uses : actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af
1618 with :
1719 node-version : 20.x
1820 cache : ' npm'
2527 - name : Build standalone
2628 run : npm run build-standalone-prod
2729 - name : Upload standalone artifact
28- uses : actions/upload-artifact@v4
30+ uses : actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b
2931 with :
3032 name : standalone
3133 path : dist/standalone.html
Original file line number Diff line number Diff line change 55 push :
66 branches : [master]
77
8- permissions :
9- contents : read
10- pages : write
11- id-token : write
12-
138concurrency :
149 group : " deploy"
1510 cancel-in-progress : true
@@ -19,12 +14,14 @@ jobs:
1914 runs-on : ubuntu-latest
2015 steps :
2116 - name : Checkout
22- uses : actions/checkout@v4
17+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
18+ with :
19+ persist-credentials : false
2320 - name : Setup GitHub Pages
2421 id : pages
25- uses : actions/configure-pages@v4
22+ uses : actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b
2623 - name : Install Node.js
27- uses : actions/setup-node@v4
24+ uses : actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af
2825 with :
2926 node-version : 20.x
3027 cache : ' npm'
@@ -44,17 +41,20 @@ jobs:
4441 npm run build-standalone-prod
4542 cp dist/standalone.html web
4643 - name : Upload artifact
47- uses : actions/upload-pages-artifact@v3
44+ uses : actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa
4845 with :
4946 path : ./web/
5047
5148 deploy :
5249 environment :
5350 name : github-pages
5451 url : ${{ steps.deployment.outputs.page_url }}
52+ permissions :
53+ pages : write
54+ id-token : write
5555 runs-on : ubuntu-latest
5656 needs : build
5757 steps :
5858 - name : Deploy to GitHub Pages
5959 id : deployment
60- uses : actions/deploy-pages@v4
60+ uses : actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e
Original file line number Diff line number Diff line change 1515 runs-on : ${{ matrix.os }}
1616
1717 steps :
18- - uses : actions/checkout@v4
19- - uses : actions/setup-node@v4
18+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
19+ with :
20+ persist-credentials : false
21+ - uses : actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af
2022 with :
2123 node-version : 20.x
2224 - name : Install dependencies
3133 node generate-macos.js
3234 - name : Upload macOS
3335 if : runner.os == 'macOS'
34- uses : actions/upload-artifact@v4
36+ uses : actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b
3537 with :
3638 name : electron-macos
3739 path : electron-bin/temp/macos/*.zip
@@ -46,13 +48,13 @@ jobs:
4648 node generate-windows.js
4749 - name : Upload Windows
4850 if : runner.os == 'Windows'
49- uses : actions/upload-artifact@v4
51+ uses : actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b
5052 with :
5153 name : electron-windows
5254 path : electron-bin/temp/windows/*.zip
5355 - name : Upload Windows Crossbuild
5456 if : runner.os == 'Linux'
55- uses : actions/upload-artifact@v4
57+ uses : actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b
5658 with :
5759 name : electron-windows-crossbuild
5860 path : electron-bin/temp/windows/*.zip
Original file line number Diff line number Diff line change 1111 runs-on : macos-latest
1212
1313 steps :
14- - uses : actions/checkout@v4
14+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
15+ with :
16+ persist-credentials : false
1517 - name : Build
1618 run : |
1719 cd wkwebview
You can’t perform that action at this time.
0 commit comments