File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3434 COMFYUI_MODELS_ROOT : " /home/nunchaku/comfyui_models"
3535 NUNCHAKU_TEST_CACHE_ROOT : " /home/nunchaku/nunchaku_test_root"
3636 steps :
37- - name : Determine ref
38- id : set-ref
39- run : |
40- if [[ "${{ github.event_name }}" == "pull_request" ]]; then
41- # Use the merged commit SHA for PRs
42- echo "ref=${{ github.event.pull_request.merge_commit_sha }}" >> $GITHUB_OUTPUT
43- elif [[ "${{ github.event_name }}" == "workflow_dispatch" ]]; then
44- # Use github.event.inputs.ref if provided, else default to main
45- if [[ -n "${{ github.event.inputs.ref }}" ]]; then
46- echo "ref=${{ github.event.inputs.ref }}" >> $GITHUB_OUTPUT
47- else
48- echo "ref=main" >> $GITHUB_OUTPUT
49- fi
50- fi
5137 - name : Checkout
5238 uses : actions/checkout@v4
53- with :
54- ref : ${{ steps.set-ref.outputs.ref }}
55- submodules : true
5639 - name : Show current commit
5740 run : git log -1 --oneline
5841 - name : Set up Python
You can’t perform that action at this time.
0 commit comments