Runs
Release#12
- Event
- workflow_dispatch
- Branch
- cross-platform
- Commit
- fbeb32f
- Started
- Duration
- 4:48
Synced from GitHub
Pick the version
Took 0:04Annotations
- 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. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
- notice:
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
Steps
- 1Set up job, Success0:01
- 2Run actions/checkout@v4, Success0:01
- 3Pick the version, Success0:00
- 6Post Run actions/checkout@v4, Success0:00
- 7Complete job, Success0:00
Whole log, 14 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: {bdfe09ce-a5e9-49bb-b271-938d782dbc3f}
Region: eastus
Cloud: Azure
▸ Operating System
Ubuntu
26.04.1
LTS
▸ Runner Image
Image: ubuntu-26.04
Version: 20261025.179.1
Included Software: https://github.com/actions/runner-images/blob/ubuntu26/20261025.179/images/ubuntu/Ubuntu2604-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu26%2F20261025.179
▸ 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)
Complete job name: Pick the version
▸ Run actions/checkout@v4
with:
fetch-depth: 0
repository: screen-gd/screen-time
token: ***
ssh-strict: true
ssh-user: git
persist-credentials: true
clean: true
sparse-checkout-cone-mode: true
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 '/home/runner/work/screen-time/screen-time'
[command]/usr/bin/git version
git version 2.56.0
Temporarily overriding HOME='/home/runner/work/_temp/c698a4c2-b07f-4d0a-bdc3-cbba150f4980' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
[command]/usr/bin/git config --global --add safe.directory /home/runner/work/screen-time/screen-time
Deleting the contents of '/home/runner/work/screen-time/screen-time'
▸ Initializing the repository
[command]/usr/bin/git init /home/runner/work/screen-time/screen-time
hint: Using 'master' as the name for the initial branch. This default branch name
hint: will change to "main" in Git 3.0. To configure the initial branch name
hint: to use in all of your new repositories, which will suppress this warning,
hint: call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
hint:
hint: Disable this message with "git config set advice.defaultBranchName false"
Initialized empty Git repository in /home/runner/work/screen-time/screen-time/.git/
[command]/usr/bin/git remote add origin https://github.com/screen-gd/screen-time
▸ Disabling automatic garbage collection
[command]/usr/bin/git config --local gc.auto 0
▸ Setting up auth
[command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
[command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
[command]/usr/bin/git 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]/usr/bin/git config --local --name-only --get-regexp ^includeIf\.gitdir:
[command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
[command]/usr/bin/git config --local http.https://github.com/.extraheader AUTHORIZATION: basic ***
▸ Fetching the repository
[command]/usr/bin/git -c protocol.version=2 fetch --prune --no-recurse-submodules origin +refs/heads/*:refs/remotes/origin/* +refs/tags/*:refs/tags/*
From https://github.com/screen-gd/screen-time
* [new branch] auto-update -> origin/auto-update
* [new branch] cross-platform -> origin/cross-platform
* [new branch] dark-ui -> origin/dark-ui
* [new branch] main -> origin/main
* [new branch] pr-assets/dark-ui -> origin/pr-assets/dark-ui
* [new branch] release-on-merge -> origin/release-on-merge
* [new tag] v1.0.0 -> v1.0.0
* [new tag] v1.1.0 -> v1.1.0
* [new tag] v1.2.0 -> v1.2.0
* [new tag] v1.2.1 -> v1.2.1
* [new tag] v1.2.2 -> v1.2.2
* [new tag] v1.2.3 -> v1.2.3
[command]/usr/bin/git branch --list --remote origin/cross-platform
origin/cross-platform
[command]/usr/bin/git rev-parse refs/remotes/origin/cross-platform
fbeb32fa4f38d7810709b81f9074d348e5bddbda
▸ Determining the checkout info
[command]/usr/bin/git sparse-checkout disable
[command]/usr/bin/git config --local --unset-all extensions.worktreeConfig
▸ Checking out the ref
[command]/usr/bin/git 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]/usr/bin/git log -1 --format=%H
fbeb32fa4f38d7810709b81f9074d348e5bddbda
▸ Run declared=$(node -p "require('./package.json').version")
declared=$(node -p "require('./package.json').version")
if [[ "$GITHUB_REF" == refs/tags/v* ]]; then
version="${GITHUB_REF_NAME#v}"
if [[ "$version" != "$declared" ]]; then
echo "::error::Tag $GITHUB_REF_NAME does not match package.json version $declared"
exit 1
fi
publish=true
elif [[ "$GITHUB_REF" == refs/heads/main ]]; then
tagged=$(git tag --points-at HEAD --list 'v*' | head -n 1)
latest=$(git tag --list 'v*' --sort=-v:refname | head -n 1)
# Use package.json when it is ahead of every release, else the next patch.
version=$(node -e '
const parse = (v) => (v || "0.0.0").replace(/^v/, "").split(".").map(Number);
const declared = parse(process.argv[1]);
const latest = parse(process.argv[2]);
const ahead = (declared[0] - latest[0] || declared[1] - latest[1] || declared[2] - latest[2]) > 0;
console.log((ahead ? declared : [latest[0], latest[1], latest[2] + 1]).join("."));
' "$declared" "$latest")
publish=true
if [[ -n "$tagged" ]]; then
# A pushed tag already releases this commit; don't publish it twice.
version="${tagged#v}"
publish=false
fi
else
version="$declared"
publish=false
fi
echo "Version $version (package.json $declared, publish $publish)"
echo "version=$version" >> "$GITHUB_OUTPUT"
echo "publish=$publish" >> "$GITHUB_OUTPUT"
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
Version 1.2.2 (package.json 1.2.2, publish false)
Post job cleanup.
[command]/usr/bin/git version
git version 2.56.0
Temporarily overriding HOME='/home/runner/work/_temp/d137eb4f-f761-4530-8ef3-ef2a341c481b' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
[command]/usr/bin/git config --global --add safe.directory /home/runner/work/screen-time/screen-time
[command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
[command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
http.https://github.com/.extraheader
[command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader
[command]/usr/bin/git 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]/usr/bin/git config --local --name-only --get-regexp ^includeIf\.gitdir:
[command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
Evaluate and set job outputs
Set output 'version'
Set output 'publish'
Cleaning up orphan processes
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. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/