[dev] Bump GH Actions (#4247)
This commit is contained in:
parent
0297a76326
commit
588c7a95b5
18
.github/workflows/package-and-publish.yml
vendored
18
.github/workflows/package-and-publish.yml
vendored
@ -25,13 +25,13 @@ jobs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Use Node.js 20.x
|
- name: Use Node.js 20.x
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 20.x
|
node-version: 20.x
|
||||||
|
|
||||||
- name: Cache node modules
|
- name: Cache node modules
|
||||||
id: npm-cache
|
id: npm-cache
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: node_modules
|
path: node_modules
|
||||||
key: ${{ runner.os }}-build-${{ hashFiles('**/package-lock.json') }}
|
key: ${{ runner.os }}-build-${{ hashFiles('**/package-lock.json') }}
|
||||||
@ -59,7 +59,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Get branch name for current workflow run
|
- name: Get branch name for current workflow run
|
||||||
id: branch-name
|
id: branch-name
|
||||||
uses: tj-actions/branch-names@v7
|
uses: tj-actions/branch-names@v8
|
||||||
|
|
||||||
- name: Build, package and publish
|
- name: Build, package and publish
|
||||||
env:
|
env:
|
||||||
@ -80,22 +80,22 @@ jobs:
|
|||||||
npm run electron:release:production
|
npm run electron:release:production
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: ${{ env.APP_NAME }}-x64.dmg
|
name: ${{ env.APP_NAME }}-x64.dmg
|
||||||
path: dist-electron/${{ env.APP_NAME }}-x64.dmg
|
path: dist-electron/${{ env.APP_NAME }}-x64.dmg
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: ${{ env.APP_NAME }}-arm64.dmg
|
name: ${{ env.APP_NAME }}-arm64.dmg
|
||||||
path: dist-electron/${{ env.APP_NAME }}-arm64.dmg
|
path: dist-electron/${{ env.APP_NAME }}-arm64.dmg
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: ${{ env.APP_NAME }}-x86_64.AppImage
|
name: ${{ env.APP_NAME }}-x86_64.AppImage
|
||||||
path: dist-electron/${{ env.APP_NAME }}-x86_64.AppImage
|
path: dist-electron/${{ env.APP_NAME }}-x86_64.AppImage
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: ${{ env.APP_NAME }}-x64.exe
|
name: ${{ env.APP_NAME }}-x64.exe
|
||||||
path: dist-electron/${{ env.APP_NAME }}-x64.exe
|
path: dist-electron/${{ env.APP_NAME }}-x64.exe
|
||||||
@ -144,7 +144,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Download Windows package
|
- name: Download Windows package
|
||||||
id: download-artifact
|
id: download-artifact
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: ${{ env.FILE_NAME }}
|
name: ${{ env.FILE_NAME }}
|
||||||
|
|
||||||
@ -155,7 +155,7 @@ jobs:
|
|||||||
shell: cmd
|
shell: cmd
|
||||||
run: smctl.exe sign --keypair-alias=%KEYPAIR_ALIAS% --input "%FILE_PATH%\%FILE_NAME%"
|
run: smctl.exe sign --keypair-alias=%KEYPAIR_ALIAS% --input "%FILE_PATH%\%FILE_NAME%"
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: ${{ env.FILE_NAME }}
|
name: ${{ env.FILE_NAME }}
|
||||||
path: ${{ env.FILE_NAME }}
|
path: ${{ env.FILE_NAME }}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user