Event
workflow_dispatch
Branch
cross-platform
Commit
df9a3ae
Started
Duration
4:35

Synced from GitHub

Windows installer

SuccessTook 2:13

Annotations

  • warning:

    Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4, actions/upload-artifact@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/

Steps

  1. 1Set up job, Success0:01
  2. 2Run actions/checkout@v4, Success0:05
  3. 3Run actions/setup-node@v4, Success0:08
  4. 4Install dependencies, Success0:14
  5. 5Run the tracker tests, Success0:01
  6. 6Stamp the version, Success0:01
  7. 7Build the installer, Success1:34
  8. 8Upload the build, Success0:05
  9. 15Post Run actions/setup-node@v4, Success0:00
  10. 16Post Run actions/checkout@v4, Success0:02
  11. 17Complete job, Success0:00
Whole log, 27 KB
Current runner version: '2.338.0'
▸ Runner Image Provisioner
Hosted Compute Agent
Version: 20261021.618
Commit: 21505ad2541d5be6135ed84fc33697146cf75b8e
Build Date: 2026-10-21T00:45:21Z
Worker ID: {27ce58e0-3799-4501-b26e-1e8a8d72fc3a}
Region: eastus
Cloud: Azure
▸ Operating System
Microsoft Windows Server 2025
10.0.26100
Datacenter
▸ Runner Image
Image: windows-2025-vs2026
Version: 20261021.278.1
Included Software: https://github.com/actions/runner-images/blob/win25-vs2026/20261021.278/images/windows/Windows2025-VS2026-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/win25-vs2026%2F20261021.278
▸ GITHUB_TOKEN Permissions
Contents: write
Metadata: read
Secret source: Actions
Cache mode: write
Prepare workflow directory
Prepare all required actions
Getting action download info
Download action repository 'actions/checkout@v4' (SHA:11d5960a326750d5838078e36cf38b85af677262)
Download action repository 'actions/setup-node@v4' (SHA:49933ea5288caeca8642d1e84afbd3f7d6820020)
Download action repository 'actions/upload-artifact@v4' (SHA:ea165f8d65b6e75b540449e92b4886f43607fa02)
Complete job name: Windows installer
▸ Run actions/checkout@v4
with:
  repository: screen-gd/screen-time
  token: ***
  ssh-strict: true
  ssh-user: git
  persist-credentials: true
  clean: true
  sparse-checkout-cone-mode: true
  fetch-depth: 1
  fetch-tags: false
  show-progress: true
  lfs: false
  submodules: false
  set-safe-directory: true
  allow-unsafe-pr-checkout: false
Syncing repository: screen-gd/screen-time
▸ Getting Git version info
Working directory is 'D:\a\screen-time\screen-time'
[command]"C:\Program Files\Git\bin\git.exe" version
git version 2.56.0.windows.2
Temporarily overriding HOME='D:\a\_temp\71ad5ba8-ec52-4f51-b33e-958154c06a4c' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
[command]"C:\Program Files\Git\bin\git.exe" config --global --add safe.directory D:\a\screen-time\screen-time
Deleting the contents of 'D:\a\screen-time\screen-time'
▸ Initializing the repository
[command]"C:\Program Files\Git\bin\git.exe" init D:\a\screen-time\screen-time
Initialized empty Git repository in D:/a/screen-time/screen-time/.git/
[command]"C:\Program Files\Git\bin\git.exe" remote add origin https://github.com/screen-gd/screen-time
▸ Disabling automatic garbage collection
[command]"C:\Program Files\Git\bin\git.exe" config --local gc.auto 0
▸ Setting up auth
[command]"C:\Program Files\Git\bin\git.exe" config --local --name-only --get-regexp core\.sshCommand
[command]"C:\Program Files\Git\bin\git.exe" submodule foreach --recursive "sh -c \"git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :\""
[command]"C:\Program Files\Git\bin\git.exe" config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
[command]"C:\Program Files\Git\bin\git.exe" submodule foreach --recursive "sh -c \"git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :\""
[command]"C:\Program Files\Git\bin\git.exe" config --local --name-only --get-regexp ^includeIf\.gitdir:
[command]"C:\Program Files\Git\bin\git.exe" submodule foreach --recursive "git config --local --show-origin --name-only --get-regexp remote.origin.url"
[command]"C:\Program Files\Git\bin\git.exe" config --local http.https://github.com/.extraheader "AUTHORIZATION: basic ***"
▸ Fetching the repository
[command]"C:\Program Files\Git\bin\git.exe" -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +df9a3ae14cf9bd00beab3275ff1f74e81e5a52ec:refs/remotes/origin/cross-platform
From https://github.com/screen-gd/screen-time
 * [new ref]         df9a3ae14cf9bd00beab3275ff1f74e81e5a52ec -> origin/cross-platform
▸ Determining the checkout info
[command]"C:\Program Files\Git\bin\git.exe" sparse-checkout disable
[command]"C:\Program Files\Git\bin\git.exe" config --local --unset-all extensions.worktreeConfig
▸ Checking out the ref
[command]"C:\Program Files\Git\bin\git.exe" checkout --progress --force -B cross-platform refs/remotes/origin/cross-platform
Switched to a new branch 'cross-platform'
branch 'cross-platform' set up to track 'origin/cross-platform'.
[command]"C:\Program Files\Git\bin\git.exe" log -1 --format=%H
df9a3ae14cf9bd00beab3275ff1f74e81e5a52ec
▸ Run actions/setup-node@v4
with:
  node-version: 22
  cache: npm
  always-auth: false
  check-latest: false
  token: ***
Found in cache @ C:\hostedtoolcache\windows\node\22.23.4\x64
(node:3432) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
▸ Environment details
node: v22.23.4
npm: 10.9.9
yarn: 1.22.22
[command]C:\Windows\system32\cmd.exe /D /S /C "C:\hostedtoolcache\windows\node\22.23.4\x64\npm.cmd config get cache"
C:\npm\cache
Cache hit for: node-cache-Windows-x64-npm-7def6c1dce8e19f3ef60512818ecae3845bd0864e7f07f8fc7ad5e8b35d7d491
(node:3432) [DEP0169] DeprecationWarning: `url.parse()` behavior is not standardized and prone to errors that have security implications. Use the WHATWG URL API instead. CVEs are not issued for `url.parse()` vulnerabilities.
Received 43294726 of 43294726 (100.0%), 99.3 MBs/sec
Cache Size: ~41 MB (43294726 B)
[command]"C:\Program Files\Git\usr\bin\tar.exe" -xf D:/a/_temp/05179429-a6ed-46dc-bb65-15ac2254a2d3/cache.tzst -P -C D:/a/screen-time/screen-time --force-local --use-compress-program "zstd -d"
Cache restored successfully
Cache restored from key: node-cache-Windows-x64-npm-7def6c1dce8e19f3ef60512818ecae3845bd0864e7f07f8fc7ad5e8b35d7d491
▸ Run npm ci
npm ci
shell: C:\Program Files\PowerShell\7\pwsh.EXE -command ". '{0}'"
npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated lodash.isequal@4.5.0: This package is deprecated. Use require('node:util').isDeepStrictEqual instead.
npm warn deprecated rimraf@2.6.3: Rimraf versions prior to v4 are no longer supported
npm warn deprecated glob@7.2.3: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me
npm warn deprecated boolean@3.2.0: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

added 291 packages, and audited 292 packages in 11s

48 packages are looking for funding
  run `npm fund` for details

1 high severity vulnerability

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.
▸ Run npm test
npm test
shell: C:\Program Files\PowerShell\7\pwsh.EXE -command ". '{0}'"

> tally-screen-time@1.2.2 test
> node scripts/tracker-test.js

ok   input credits every sample
ok   idle without media credits nothing
ok   media in the front app keeps counting while idle
ok   background media does not hold the clock
ok   media starting after a pause credits one sample, not the gap
ok   media stopping returns to idle
ok   two hours of untouched media ends the run
ok   the media ceiling is a setting, and never is allowed
ok   a shorter ceiling stops media sooner
ok   the reason follows the desk
ok   paused and sleep both say so
ok   a full-screen app counts as in use
ok   a sleep gap is never credited
ok   pausing stops credit and idle resumes it
ok   suspending clears the timer
ok   identify reads macOS apps by bundle id
ok   identify reads Linux executables
ok   rootsFor lays out each OS
ok   an unsupported platform says why

all tracker rules hold
▸ Run npm version "1.2.2" --no-git-tag-version --allow-same-version
npm version "1.2.2" --no-git-tag-version --allow-same-version
shell: C:\Program Files\PowerShell\7\pwsh.EXE -command ". '{0}'"
v1.2.2
▸ Run npm run dist
npm run dist
shell: C:\Program Files\PowerShell\7\pwsh.EXE -command ". '{0}'"
env:
  CSC_IDENTITY_AUTO_DISCOVERY: false

> tally-screen-time@1.2.2 dist
> node scripts/build-native.js && electron-builder --win nsis --publish never

[tally] building the media addon for Electron 40.10.6 (x64)
gyp info it worked if it ends with ok
gyp info using node-gyp@12.4.0
gyp info using node@22.23.4 | win32 | x64
gyp info find Python using Python version 3.15.1 found at "C:\hostedtoolcache\windows\Python\3.15.1\x64\python.exe"

gyp http GET https://electronjs.org/headers/v40.10.6/node-v40.10.6-headers.tar.gz
gyp http 200 https://artifacts.electronjs.org/headers/dist/v40.10.6/node-v40.10.6-headers.tar.gz
gyp http GET https://electronjs.org/headers/v40.10.6/SHASUMS256.txt
gyp http GET https://electronjs.org/headers/v40.10.6/win-x64/node.lib
gyp http 200 https://artifacts.electronjs.org/headers/dist/v40.10.6/win-x64/node.lib
gyp http 200 https://artifacts.electronjs.org/headers/dist/v40.10.6/SHASUMS256.txt
gyp info find VS using VS2026 (18.11.12315.225) found at:
gyp info find VS "C:\Program Files\Microsoft Visual Studio\18\Enterprise"
gyp info find VS run with --verbose for detailed information
gyp info spawn C:\hostedtoolcache\windows\Python\3.15.1\x64\python.exe
gyp info spawn args [
gyp info spawn args 'D:\\a\\screen-time\\screen-time\\node_modules\\node-gyp\\gyp\\gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'msvs',
gyp info spawn args '-I',
gyp info spawn args 'D:\\a\\screen-time\\screen-time\\native\\media\\build\\config.gypi',
gyp info spawn args '-I',
gyp info spawn args 'D:\\a\\screen-time\\screen-time\\node_modules\\node-gyp\\addon.gypi',
gyp info spawn args '-I',
gyp info spawn args 'C:\\Users\\runneradmin\\AppData\\Local\\node-gyp\\Cache\\40.10.6\\include\\node\\common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=C:\\Users\\runneradmin\\AppData\\Local\\node-gyp\\Cache\\40.10.6',
gyp info spawn args '-Dnode_gyp_dir=D:\\a\\screen-time\\screen-time\\node_modules\\node-gyp',
gyp info spawn args '-Dnode_lib_file=C:\\\\Users\\\\runneradmin\\\\AppData\\\\Local\\\\node-gyp\\\\Cache\\\\40.10.6\\\\<(target_arch)\\\\node.lib',
gyp info spawn args '-Dmodule_root_dir=D:\\a\\screen-time\\screen-time\\native\\media',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'D:\\a\\screen-time\\screen-time\\native\\media\\build',
gyp info spawn args '-Goutput_dir=.'
gyp info spawn args ]
gyp info spawn C:\Program Files\Microsoft Visual Studio\18\Enterprise\MSBuild\Current\Bin\MSBuild.exe
gyp info spawn args [
gyp info spawn args 'build/binding.sln',
gyp info spawn args '/clp:Verbosity=minimal',
gyp info spawn args '/nologo',
gyp info spawn args '/nodeReuse:false',
gyp info spawn args '/p:Configuration=Release;Platform=x64'
gyp info spawn args ]

  media.cc
  win_delay_load_hook.cc
     Creating library D:\a\screen-time\screen-time\native\media\build\Release\media.lib and object D:\a\screen-time\screen-time\native\media\build\Release\media.exp
  Generating code
  Previous IPDB not found, fall back to full compilation.
  All 785 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
  Finished generating code
  media.vcxproj -> D:\a\screen-time\screen-time\native\media\build\Release\\media.node
gyp info ok
[tally] media addon ready
  • electron-builder  version=26.18.0 os=10.0.26100
  • loaded configuration  file=package.json ("build" field)
  • executing @electron/rebuild  electronVersion=40.10.6 arch=x64 buildFromSource=false workspaceRoot=D:\a\screen-time\screen-time projectDir=./ appDir=./
  • installing native dependencies  arch=x64
  • completed installing native dependencies
  • packaging       platform=win32 arch=x64 electron=40.10.6 appOutDir=dist\win-unpacked
  • downloaded      label=electron progress=100%
  • downloaded electron zip extracted successfully  output=D:\a\screen-time\screen-time\dist\win-unpacked
  • searching for node modules  pm=npm searchDir=D:\a\screen-time\screen-time
  • updating asar integrity executable resource  executablePath=dist\win-unpacked\Tally.exe
  • downloaded      label=icons-bundle.tar.gz progress=100%
  • no code signing certificate configured, signing is skipped  path=dist\win-unpacked\Tally.exe
  • building        target=nsis file=dist\Tally-Setup-1.2.2.exe archs=x64 oneClick=false perMachine=false
  • downloaded      label=7zip-win-x64.tar.gz progress=100%
  • downloaded      label=nsis-3.0.4.1.7z progress=100%
  • no code signing certificate configured, signing is skipped  path=C:\Users\RUNNER~1\AppData\Local\Temp\t-3AJvhT\elevate-staging-1\resources\elevate.exe
  • downloaded      label=nsis-resources-3.4.1.7z progress=100%
  • no code signing certificate configured, signing is skipped  path=dist\Tally-Setup-1.2.2.__uninstaller.exe
  • no code signing certificate configured, signing is skipped  path=dist\Tally-Setup-1.2.2.exe
  • building block map  blockMapFile=dist\Tally-Setup-1.2.2.exe.blockmap
▸ Run actions/upload-artifact@v4
with:
  name: windows
  path: dist/Tally-Setup-*.exe
dist/Tally-Setup-*.exe.blockmap
dist/latest.yml

  if-no-files-found: error
  compression-level: 6
  overwrite: false
  include-hidden-files: false
(node:3256) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
With the provided path, there will be 3 files uploaded
Artifact name is valid!
Root directory input is valid!
Beginning upload of artifact content to blob storage
(node:3256) [DEP0169] DeprecationWarning: `url.parse()` behavior is not standardized and prone to errors that have security implications. Use the WHATWG URL API instead. CVEs are not issued for `url.parse()` vulnerabilities.
Uploaded bytes 8388608
Uploaded bytes 16777216
Uploaded bytes 25165824
Uploaded bytes 33554432
Uploaded bytes 41943040
Uploaded bytes 50331648
Uploaded bytes 58720256
Uploaded bytes 67108864
Uploaded bytes 75497472
Uploaded bytes 83886080
Uploaded bytes 92274688
Uploaded bytes 100663296
Uploaded bytes 109051904
Uploaded bytes 117440512
Uploaded bytes 119297764
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact zip is b07b4f26924d0c1cf537dd222775553cb759538576da2c08099b0de2a26a6e77
Finalizing artifact upload
Artifact windows.zip successfully finalized. Artifact ID 12820968520
Artifact windows has been successfully uploaded! Final size is 119297764 bytes. Artifact ID is 12820968520
Artifact download URL: https://github.com/screen-gd/screen-time/actions/runs/40700483015/artifacts/12820968520
Post job cleanup.
(node:4092) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Cache hit occurred on the primary key node-cache-Windows-x64-npm-7def6c1dce8e19f3ef60512818ecae3845bd0864e7f07f8fc7ad5e8b35d7d491, not saving cache.
Post job cleanup.
[command]"C:\Program Files\Git\bin\git.exe" version
git version 2.56.0.windows.2
Temporarily overriding HOME='D:\a\_temp\dd2c0edd-8241-46d3-8f11-3cbc79275862' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
[command]"C:\Program Files\Git\bin\git.exe" config --global --add safe.directory D:\a\screen-time\screen-time
[command]"C:\Program Files\Git\bin\git.exe" config --local --name-only --get-regexp core\.sshCommand
[command]"C:\Program Files\Git\bin\git.exe" submodule foreach --recursive "sh -c \"git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :\""
[command]"C:\Program Files\Git\bin\git.exe" config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
http.https://github.com/.extraheader
[command]"C:\Program Files\Git\bin\git.exe" config --local --unset-all http.https://github.com/.extraheader
[command]"C:\Program Files\Git\bin\git.exe" submodule foreach --recursive "sh -c \"git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :\""
[command]"C:\Program Files\Git\bin\git.exe" config --local --name-only --get-regexp ^includeIf\.gitdir:
[command]"C:\Program Files\Git\bin\git.exe" submodule foreach --recursive "git config --local --show-origin --name-only --get-regexp remote.origin.url"
Cleaning up orphan processes
Terminate orphan process: pid (3384) (vctip)
Warning: Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4, actions/upload-artifact@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/