veritas-kanban/.github/workflows/desktop-artifacts.yml
dependabot[bot] cd0d708a0b
chore(deps): bump actions/setup-node from 6.5.0 to 7.0.0 (#1245)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 6.5.0 to 7.0.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](249970729c...8207627860)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: 7.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-30 01:02:58 -05:00

176 lines
5.8 KiB
YAML

name: Desktop Artifacts
on:
pull_request:
branches: [main]
types: [opened, synchronize, reopened, labeled, unlabeled]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
NODE_VERSION: '22'
jobs:
mac-unsigned:
name: Unsigned macOS Artifact
if: >-
github.event_name == 'workflow_dispatch' ||
contains(github.event.pull_request.labels.*.name, 'ci:full')
runs-on: macos-15
steps:
- name: Record milestone selection
run: |
{
echo "### Unsigned macOS artifact milestone"
echo
echo "- Trigger: \`$GITHUB_EVENT_NAME\`"
echo "- Reason: explicit \`ci:full\` or manual milestone"
} >> "$GITHUB_STEP_SUMMARY"
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: ${{ env.NODE_VERSION }}
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build workspace
run: pnpm build
- name: Prepare desktop runtime payload
run: pnpm --filter @veritas-kanban/desktop package:prepare
- name: Build unsigned macOS DMG and update metadata
working-directory: desktop
env:
CSC_IDENTITY_AUTO_DISCOVERY: 'false'
run: node ./node_modules/electron-builder/cli.js --mac dmg zip --publish never --config.mac.identity=null --config.mac.notarize=false
- name: Upload desktop artifacts
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: veritas-kanban-mac-unsigned
path: |
desktop/release/*.dmg
desktop/release/*.zip
desktop/release/*.yml
desktop/release/*.blockmap
if-no-files-found: error
retention-days: 14
linux-unsigned:
name: Unsigned Linux Artifacts
if: >-
github.event_name == 'workflow_dispatch' ||
contains(github.event.pull_request.labels.*.name, 'ci:full')
runs-on: ubuntu-24.04
steps:
- name: Record milestone selection
run: |
{
echo "### Unsigned Linux artifact milestone"
echo
echo "- Trigger: \`$GITHUB_EVENT_NAME\`"
echo "- Reason: explicit \`ci:full\` or manual milestone"
} >> "$GITHUB_STEP_SUMMARY"
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: ${{ env.NODE_VERSION }}
cache: pnpm
- name: Install Linux packaging tools
run: sudo apt-get update && sudo apt-get install -y --no-install-recommends fakeroot libarchive-tools rpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build workspace
run: pnpm build
- name: Prepare desktop runtime payload
run: pnpm --filter @veritas-kanban/desktop package:prepare
- name: Build unsigned Linux preview AppImage, deb, and rpm artifacts
working-directory: desktop
env:
CSC_IDENTITY_AUTO_DISCOVERY: 'false'
run: node ./node_modules/electron-builder/cli.js --linux AppImage deb rpm --x64 --publish never
- name: Upload Linux preview desktop artifacts
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: veritas-kanban-linux-unsigned
path: |
desktop/release/*.AppImage
desktop/release/*.deb
desktop/release/*.rpm
desktop/release/*.yml
desktop/release/*.blockmap
if-no-files-found: error
retention-days: 14
windows-unsigned:
name: Unsigned Windows Artifacts
if: >-
github.event_name == 'workflow_dispatch' ||
contains(github.event.pull_request.labels.*.name, 'ci:full')
runs-on: windows-2025
steps:
- name: Record milestone selection
shell: bash
run: |
{
echo "### Unsigned Windows artifact milestone"
echo
echo "- Trigger: \`$GITHUB_EVENT_NAME\`"
echo "- Reason: explicit \`ci:full\` or manual milestone"
} >> "$GITHUB_STEP_SUMMARY"
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: ${{ env.NODE_VERSION }}
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build workspace
run: pnpm build
- name: Prepare desktop runtime payload
run: pnpm --filter @veritas-kanban/desktop package:prepare
- name: Build unsigned Windows preview NSIS and ZIP artifacts
working-directory: desktop
env:
CSC_IDENTITY_AUTO_DISCOVERY: 'false'
run: node ./node_modules/electron-builder/cli.js --win nsis zip --x64 --publish never
- name: Upload Windows preview desktop artifacts
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: veritas-kanban-windows-unsigned
path: |
desktop/release/*.exe
desktop/release/*.zip
desktop/release/*.yml
desktop/release/*.blockmap
if-no-files-found: error
retention-days: 14