Version 1.9.1 #64
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Desktop | |
on: | |
push: | |
paths: | |
- '.github/workflows/desktop.yml' | |
pull_request: | |
paths: | |
- 'src/desktop/**' | |
- 'src/frontend/**' | |
permissions: | |
contents: read | |
jobs: | |
build_linux: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #pin v4.2.2 | |
with: | |
persist-credentials: false | |
- name: Set up Go | |
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed #pin v5.1.0 | |
with: | |
go-version: "stable" | |
cache-dependency-path: src/certbox/go.sum | |
- name: Build certgen | |
run: ./build.sh | |
working-directory: src/certbox/cmd/certgen | |
- name: Build app | |
run: | | |
npm --prefer-offline ci | |
node start_webpack.js --mode production | |
node build.linux.js | |
working-directory: src/desktop | |
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 #pin v4.4.3 | |
with: | |
name: certbox_linux | |
path: src/desktop/package/artifacts/certbox_linux_*.tar.gz | |
compression-level: 0 | |
build_macos: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #pin v4.2.2 | |
with: | |
persist-credentials: false | |
- name: Set up Go | |
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed #pin v5.1.0 | |
with: | |
go-version: "stable" | |
cache-dependency-path: src/certbox/go.sum | |
- name: Build certgen | |
run: ./build.sh | |
working-directory: src/certbox/cmd/certgen | |
- name: Build app | |
run: | | |
npm --prefer-offline ci | |
node start_webpack.js --mode production | |
node build.darwin.js | |
working-directory: src/desktop | |
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 #pin v4.4.3 | |
with: | |
name: certbox_macos | |
path: src/desktop/package/artifacts/certbox_macOS_*.dmg | |
compression-level: 0 | |
build_windows: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #pin v4.2.2 | |
with: | |
persist-credentials: false | |
- name: Set up Go | |
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed #pin v5.1.0 | |
with: | |
go-version: "stable" | |
cache-dependency-path: src\certbox\go.sum | |
- name: Build certgen | |
run: .\build.cmd | |
working-directory: src\certbox\cmd\certgen | |
- name: Build app | |
run: | | |
npm --prefer-offline ci | |
node start_webpack.js --mode production | |
node build.windows.js | |
working-directory: src\desktop | |
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 #pin v4.4.3 | |
with: | |
name: certbox_windows | |
path: src/desktop/package/artifacts/certbox_windows_*.exe | |
compression-level: 0 |