Skip to content

Commit 378ed8e

Browse files
committed
update
1 parent 3d4e70a commit 378ed8e

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

.github/workflows/ci-fresh-install.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,10 @@ name: ci-fresh-install
88
# 2. mcpp build (build mcpp itself from source)
99
#
1010
# This workflow tests released mcpp, not PR code.
11-
# It does NOT run on PRs — only on push to main, manual trigger, and daily schedule.
12-
# Failures here mean the released mcpp has issues, not that the PR is broken.
11+
# It runs on PRs to main, manual trigger, and daily schedule.
1312

1413
on:
15-
push:
14+
pull_request:
1615
branches: [ main ]
1716
workflow_dispatch:
1817
schedule:
@@ -21,7 +20,7 @@ on:
2120

2221
concurrency:
2322
group: ci-fresh-install
24-
cancel-in-progress: false
23+
cancel-in-progress: false # use false to test in PRs, true to only test released mcpp
2524

2625
jobs:
2726
# ──────────────────────────────────────────────────────────────────
@@ -38,7 +37,7 @@ jobs:
3837
env:
3938
XLINGS_NON_INTERACTIVE: '1'
4039
run: |
41-
curl -fsSL https://raw.githubusercontent.com/openxlings/xlings/main/tools/other/quick_install.sh | bash
40+
curl -fsSL https://raw.githubusercontent.com/openxlings/xlings/main/tools/other/quick_install.sh | bash -s v0.4.38
4241
echo "$HOME/.xlings/subos/current/bin" >> "$GITHUB_PATH"
4342
xlings install mcpp -y
4443
mcpp --version
@@ -100,7 +99,7 @@ jobs:
10099
env:
101100
XLINGS_NON_INTERACTIVE: '1'
102101
run: |
103-
curl -fsSL https://raw.githubusercontent.com/openxlings/xlings/main/tools/other/quick_install.sh | bash
102+
curl -fsSL https://raw.githubusercontent.com/openxlings/xlings/main/tools/other/quick_install.sh | bash -s v0.4.38
104103
echo "$HOME/.xlings/subos/current/bin" >> "$GITHUB_PATH"
105104
xlings install mcpp -y
106105
mcpp --version

0 commit comments

Comments
 (0)