Event
push
Branch
v1.1.0
Commit
1f1c008
Started
Duration
2:39

Synced from GitHub

Windows installer

SuccessTook 2:39

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, softprops/action-gh-release@v2. 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:07
  3. 3Run actions/setup-node@v4, Success0:07
  4. 4Install dependencies, Success0:16
  5. 5Run the tracker tests, Success0:02
  6. 6Check the tag matches package.json, Success0:00
  7. 7Build the installer, Success1:45
  8. 8Upload the build, Success0:05
  9. 9Publish the release, Success0:09
  10. 17Post Run actions/setup-node@v4, Success0:02
  11. 18Post Run actions/checkout@v4, Success0:03
  12. 19Complete job, Success0:00
Whole log, 28 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: {c28743a9-3bab-4ce4-af3d-29d23dda4c8d}
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)
Download action repository 'softprops/action-gh-release@v2' (SHA:3bb12739c298aeb8a4eeaf626c5b8d85266b0e65)
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\fac218b3-3399-4f09-a717-1a5ffcebda9a' 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 +1f1c0082d13b9ea2c0262eb807cb2fd12075f5a6:refs/tags/v1.1.0
From https://github.com/screen-gd/screen-time
 * [new ref]         1f1c0082d13b9ea2c0262eb807cb2fd12075f5a6 -> v1.1.0
▸ 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 refs/tags/v1.1.0
Note: switching to 'refs/tags/v1.1.0'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at 1f1c008 Count media, and stop counting when the desk is really empty
[command]"C:\Program Files\Git\bin\git.exe" log -1 --format=%H
1f1c0082d13b9ea2c0262eb807cb2fd12075f5a6
▸ 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:1948) [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
npm cache is not found
▸ Run npm ci
npm ci
shell: C:\Program Files\PowerShell\7\pwsh.EXE -command ". '{0}'"
npm warn deprecated rimraf@2.6.3: Rimraf versions prior to v4 are no longer supported
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 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 286 packages, and audited 287 packages in 14s

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.1.0 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   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

all tracker rules hold
▸ Run $version = (Get-Content package.json -Raw | ConvertFrom-Json).version
$version = (Get-Content package.json -Raw | ConvertFrom-Json).version
if ("v1.1.0" -ne "v$version") {
  throw "Tag v1.1.0 does not match package.json version $version"
}
shell: C:\Program Files\PowerShell\7\pwsh.EXE -command ". '{0}'"
▸ 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.1.0 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.1.0.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-kDWsPC\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.1.0.__uninstaller.exe
  • no code signing certificate configured, signing is skipped  path=dist\Tally-Setup-1.1.0.exe
  • building block map  blockMapFile=dist\Tally-Setup-1.1.0.exe.blockmap
▸ Run actions/upload-artifact@v4
with:
  name: tally-setup
  path: dist/Tally-Setup-*.exe
  if-no-files-found: error
  compression-level: 6
  overwrite: false
  include-hidden-files: false
(node:5808) [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 1 file uploaded
Artifact name is valid!
Root directory input is valid!
Beginning upload of artifact content to blob storage
(node:5808) [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 119120025
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact zip is 33699b2661fce4d3026c9e89c16a56b7b3b7dbb6d0266333f4246648226b067d
Finalizing artifact upload
Artifact tally-setup.zip successfully finalized. Artifact ID 12766253061
Artifact tally-setup has been successfully uploaded! Final size is 119120025 bytes. Artifact ID is 12766253061
Artifact download URL: https://github.com/screen-gd/screen-time/actions/runs/40575626423/artifacts/12766253061
▸ Run softprops/action-gh-release@v2
with:
  files: dist/Tally-Setup-*.exe
  fail_on_unmatched_files: true
  generate_release_notes: true
  overwrite_files: true
  token: ***
👩‍🏭 Creating new GitHub release for tag v1.1.0...
Release 425936309 is not yet discoverable by tag v1.1.0, retrying... (2 retries remaining)
⬆️ Uploading Tally-Setup-1.1.0.exe...
✅ Uploaded Tally-Setup-1.1.0.exe
Finalizing release...
Getting assets list...
🎉 Release ready at https://github.com/screen-gd/screen-time/releases/tag/v1.1.0
Post job cleanup.
(node:2624) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[command]"C:\Program Files\Git\usr\bin\tar.exe" --posix -cf cache.tzst --exclude cache.tzst -P -C D:/a/screen-time/screen-time --files-from manifest.txt --force-local --use-compress-program "zstd -T0"
(node:2624) [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.
Sent 43153283 of 43153283 (100.0%), 41.1 MBs/sec
Cache saved with the key: node-cache-Windows-x64-npm-6d178307dcd6a03928288f6a2b6369835403e169fa970d346078c8a877f63963
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\15834bb6-0c10-414d-b910-e81bbbe221f6' 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 (7500) (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, softprops/action-gh-release@v2. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/