Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
fengzch-das
nunchaku
Commits
ae7b4636
Commit
ae7b4636
authored
Aug 31, 2025
by
Muyang Li
Browse files
chore: change the checkout target for the test
parent
092e01ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
17 deletions
+0
-17
.github/workflows/pr-test.yaml
.github/workflows/pr-test.yaml
+0
-17
No files found.
.github/workflows/pr-test.yaml
View file @
ae7b4636
...
...
@@ -34,25 +34,8 @@ jobs:
COMFYUI_MODELS_ROOT
:
"
/home/nunchaku/comfyui_models"
NUNCHAKU_TEST_CACHE_ROOT
:
"
/home/nunchaku/nunchaku_test_root"
steps
:
-
name
:
Determine ref
id
:
set-ref
run
:
|
if [[ "${{ github.event_name }}" == "pull_request" ]]; then
# Use the merged commit SHA for PRs
echo "ref=${{ github.event.pull_request.merge_commit_sha }}" >> $GITHUB_OUTPUT
elif [[ "${{ github.event_name }}" == "workflow_dispatch" ]]; then
# Use github.event.inputs.ref if provided, else default to main
if [[ -n "${{ github.event.inputs.ref }}" ]]; then
echo "ref=${{ github.event.inputs.ref }}" >> $GITHUB_OUTPUT
else
echo "ref=main" >> $GITHUB_OUTPUT
fi
fi
-
name
:
Checkout
uses
:
actions/checkout@v4
with
:
ref
:
${{ steps.set-ref.outputs.ref }}
submodules
:
true
-
name
:
Show current commit
run
:
git log -1 --oneline
-
name
:
Set up Python
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment