Skip to content

Commit 8970931

Browse files
authored
Remove deprecrated custom manifest (#813)
1 parent 8cc8d1c commit 8970931

20 files changed

Lines changed: 716 additions & 1316 deletions

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -808,12 +808,12 @@ jobs:
808808
- name: Install from custom manifest file
809809
uses: ./
810810
with:
811-
manifest-file: "https://raw.githubusercontent.com/astral-sh/setup-uv/${{ github.ref }}/__tests__/download/custom-manifest.json"
811+
manifest-file: "https://raw.githubusercontent.com/astral-sh/setup-uv/${{ github.ref }}/__tests__/download/custom-manifest.ndjson"
812812
- run: uv sync
813813
working-directory: __tests__/fixtures/uv-project
814814
- name: Correct version gets installed
815815
run: |
816-
if [ "$(uv --version)" != "uv 0.7.12-alpha.1" ]; then
816+
if [ "$(uv --version)" != "uv 0.9.26" ]; then
817817
echo "Wrong uv version: $(uv --version)"
818818
exit 1
819819
fi

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ Have a look under [Advanced Configuration](#advanced-configuration) for detailed
114114
# Custom path to set UV_TOOL_BIN_DIR to
115115
tool-bin-dir: ""
116116
117-
# URL to a custom manifest file (NDJSON preferred, legacy JSON array is deprecated)
117+
# URL to a custom manifest file in the astral-sh/versions format
118118
manifest-file: ""
119119
120120
# Add problem matchers
@@ -190,8 +190,8 @@ For more advanced configuration options, see our detailed documentation:
190190

191191
## How it works
192192

193-
By default, this action resolves uv versions from
194-
[`astral-sh/versions`](https://github.com/astral-sh/versions) (NDJSON) and downloads uv from the
193+
By default, this action resolves uv versions from the
194+
[`astral-sh/versions`](https://github.com/astral-sh/versions) manifest and downloads uv from the
195195
official [GitHub Releases](https://github.com/astral-sh/uv).
196196

197197
It then uses the [GitHub Actions Toolkit](https://github.com/actions/toolkit) to cache uv as a

__tests__/download/custom-manifest.json

Lines changed: 0 additions & 9 deletions
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"version":"0.9.26","artifacts":[{"platform":"x86_64-unknown-linux-gnu","variant":"default","url":"https://github.com/astral-sh/uv/releases/download/0.9.26/uv-x86_64-unknown-linux-gnu.tar.gz","archive_format":"tar.gz","sha256":"30ccbf0a66dc8727a02b0e245c583ee970bdafecf3a443c1686e1b30ec4939e8"}]}

0 commit comments

Comments
 (0)