@biffo/cli 0.168.0 → 0.168.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -75,22 +75,24 @@ jobs:
|
|
|
75
75
|
token: ${{ secrets.REGISTRY_PUBLISH_TOKEN }}
|
|
76
76
|
path: registry
|
|
77
77
|
|
|
78
|
+
# astral-sh/setup-uv, NOT actions/setup-python. The latter fetches a
|
|
79
|
+
# prebuilt interpreter from actions/python-versions, which has no build
|
|
80
|
+
# matching the self-hosted runner fleet's OS — every run failed with
|
|
81
|
+
# "The version '3.13' ... was not found for this operating system". uv
|
|
82
|
+
# installs the interpreter itself, which is how this repo's own ci.yml
|
|
83
|
+
# gets 3.13 on the same runners.
|
|
78
84
|
- name: Set up Python
|
|
79
85
|
if: steps.token.outputs.present == 'true'
|
|
80
|
-
uses:
|
|
86
|
+
uses: astral-sh/setup-uv@v6
|
|
81
87
|
with:
|
|
82
88
|
python-version: '3.13'
|
|
83
89
|
|
|
84
|
-
- name: Install jsonschema
|
|
85
|
-
if: steps.token.outputs.present == 'true'
|
|
86
|
-
run: pip install jsonschema
|
|
87
|
-
|
|
88
90
|
- name: Upsert this plugin's entry
|
|
89
91
|
if: steps.token.outputs.present == 'true'
|
|
90
92
|
working-directory: registry
|
|
91
93
|
run: |
|
|
92
94
|
set -euo pipefail
|
|
93
|
-
python3 scripts/upsert_plugin.py \
|
|
95
|
+
uv run --with jsonschema python3 scripts/upsert_plugin.py \
|
|
94
96
|
--manifest "../plugin/biffo.plugin.json" \
|
|
95
97
|
--repo "${{ github.server_url }}/${{ github.repository }}"
|
|
96
98
|
|
|
@@ -103,8 +105,8 @@ jobs:
|
|
|
103
105
|
echo "Registry entry already current — nothing to publish."
|
|
104
106
|
exit 0
|
|
105
107
|
fi
|
|
106
|
-
version="$(python3 -c "import json;print(json.load(open('../plugin/biffo.plugin.json'))['version'])")"
|
|
107
|
-
name="$(python3 -c "import json;print(json.load(open('../plugin/biffo.plugin.json'))['name'])")"
|
|
108
|
+
version="$(uv run python3 -c "import json;print(json.load(open('../plugin/biffo.plugin.json'))['version'])")"
|
|
109
|
+
name="$(uv run python3 -c "import json;print(json.load(open('../plugin/biffo.plugin.json'))['name'])")"
|
|
108
110
|
git config user.name "github-actions[bot]"
|
|
109
111
|
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
|
110
112
|
git add plugins.json
|