diff --git a/.github/workflows/custom_build_wincuda.yml b/.github/workflows/custom_build_wincuda.yml index 069fa2378..27a9e7517 100644 --- a/.github/workflows/custom_build_wincuda.yml +++ b/.github/workflows/custom_build_wincuda.yml @@ -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' }}