Compare commits
2 Commits
v0.11.5-de
...
v0.11.5-de
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5f755a7e1c | ||
|
|
8607fab5b5 |
23
.github/workflows/build-and-upload.yml
vendored
23
.github/workflows/build-and-upload.yml
vendored
@@ -61,7 +61,21 @@ jobs:
|
||||
|
||||
- name: Set workspace versions
|
||||
if: ${{ inputs.set_versions && inputs.version != '' }}
|
||||
run: npm version ${VERSION} --workspaces --include-workspace-root --no-git-tag-version --allow-same-version
|
||||
shell: bash
|
||||
env:
|
||||
NPM_CONFIG_FETCH_RETRIES: 5
|
||||
NPM_CONFIG_FETCH_RETRY_MINTIMEOUT: 20000
|
||||
NPM_CONFIG_FETCH_RETRY_MAXTIMEOUT: 120000
|
||||
run: |
|
||||
set -euo pipefail
|
||||
for attempt in 1 2 3; do
|
||||
if npm version "${VERSION}" --workspaces --include-workspace-root --no-git-tag-version --allow-same-version; then
|
||||
exit 0
|
||||
fi
|
||||
echo "npm version failed (attempt $attempt/3); retrying..." >&2
|
||||
sleep $((attempt * 10))
|
||||
done
|
||||
exit 1
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci --workspaces --include=optional
|
||||
@@ -114,6 +128,13 @@ jobs:
|
||||
set -euo pipefail
|
||||
shopt -s nullglob
|
||||
|
||||
# Dev CI builds typically don't have a macOS signing identity available.
|
||||
# When no identity is present, electron-builder skips signing and strict verification will fail.
|
||||
if security find-identity -p codesigning -v | grep -q "0 valid identities found"; then
|
||||
echo "No valid macOS codesigning identity found; skipping codesign verification"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
tmp_dir=$(mktemp -d)
|
||||
trap 'rm -rf "$tmp_dir"' EXIT
|
||||
|
||||
|
||||
Reference in New Issue
Block a user