diff --git a/.github/workflows/install_windows_dependencies/action.yml b/.github/workflows/install_windows_dependencies/action.yml deleted file mode 100644 index f0a46a052d..0000000000 --- a/.github/workflows/install_windows_dependencies/action.yml +++ /dev/null @@ -1,47 +0,0 @@ -# We create a composite action to be re-used both for testing and for releasing -name: install_windows_dependencies -description: "Build a lance wheel" -env: - VCPKG_BINARY_SOURCES: 'clear;nuget,GitHub,readwrite' - VCPKG_ROOT: C:\vcpkg -inputs: - vcpkg_token: - description: "vcpkg packages repository token" - required: true - update_vcpkg: - description: "update vcpkg and its dependencies before installing packages" - required: true - default: false -runs: - using: "composite" - steps: - - name: 'Setup vcpkg package cache' - shell: 'bash' - run: | - `vcpkg fetch nuget | tail -n 1` \ - sources add \ - -source "https://nuget.pkg.github.com/eto-ai/index.json" \ - -storepasswordincleartext \ - -name "GitHub" \ - -username "eto-ai" \ - -password "${{ inputs.vcpkg_token }}" - `vcpkg fetch nuget | tail -n 1` \ - setapikey "${{ inputs.vcpkg_token }}" \ - -source "https://nuget.pkg.github.com/eto.ai/index.json" - - name: Update vcpkg - if: ${{ inputs.update_vcpkg }} - shell: powershell - run: | - cd $env:VCPKG_INSTALLATION_ROOT - git fetch - git checkout 259762c386bc8cdfa26509ecbb0bf82bdb752c56 - .\bootstrap-vcpkg.bat -disableMetrics - - name: Setup Dependencies with vcpkg - shell: powershell - run: | - vcpkg install openblas --triplet x64-windows-static-md - vcpkg install lapack --triplet x64-windows-static-md - vcpkg install protobuf --triplet x64-windows - echo $env:VCPKG_INSTALLATION_ROOT - echo "$env:VCPKG_INSTALLATION_ROOT\installed\x64-windows\tools\protobuf" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append - ls "$env:VCPKG_INSTALLATION_ROOT\installed\x64-windows\tools\protobuf" diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml index 3c941b246c..de9e55ff33 100644 --- a/.github/workflows/pypi-publish.yml +++ b/.github/workflows/pypi-publish.yml @@ -177,7 +177,6 @@ jobs: with: python-minor-version: ${{ matrix.python-minor-version }} args: "--release ${{ (github.event_name == 'release' || (github.event_name == 'workflow_dispatch' && !inputs.debug)) && '--strip' || '' }}" - vcpkg_token: ${{ secrets.VCPKG_GITHUB_PACKAGES }} - name: Upload wheels as artifacts if: github.event_name == 'workflow_dispatch' uses: actions/upload-artifact@v4