trim trailing whitespaces

This commit is contained in:
Jianlin Shi 2024-12-29 16:08:46 -07:00 committed by GitHub
parent cf12ada7f2
commit 9449305e47
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -23,7 +23,7 @@ concurrency:
cancel-in-progress: true
permissions:
contents: write
contents: write
env:
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
@ -34,7 +34,7 @@ env:
LLAMA_LOG_TIMESTAMPS: 1
jobs:
windows-2019-cmake-cuda:
runs-on: windows-2019
@ -45,7 +45,7 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Get Python
uses: actions/setup-python@v2
with:
@ -73,12 +73,12 @@ jobs:
echo "Computer Name: ${env:COMPUTERNAME}"
wmic cpu get name
wmic os get TotalVisibleMemorySize, FreePhysicalMemory
- uses: Jimver/cuda-toolkit@v0.2.19
id: cuda-toolkit
with:
cuda: ${{ github.event.inputs.cuda }}
- name: Install ccache
uses: hendrikmuhs/ccache-action@v1.2
@ -91,7 +91,7 @@ jobs:
mkdir build
cd build
cmake .. -DGGML_CUDA=ON -DCMAKE_CUDA_ARCHITECTURES="${{ github.event.inputs.gpu_arch }}" -DCMAKE_SYSTEM_VERSION="10.0.19041.0"
cmake --build . --config Release -j 2
cmake --build . --config Release -j 2
- name: Determine tag name
id: tag
@ -142,7 +142,7 @@ jobs:
- name: Move artifacts
id: move_artifacts
run: mkdir -p ./artifact/release && mv ./artifact/*/*.zip ./artifact/release
run: mkdir -p ./artifact/release && mv ./artifact/*/*.zip ./artifact/release
- name: Create release
id: create_release
@ -152,7 +152,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.tag.outputs.name }}
- name: Upload release
id: upload_release
if: ${{ github.event.inputs.create_release == 'true' }}