forked from Spacellary/ReVanced-Extended-Automated-Builder
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: Use
uv
instead of pip for scripts
build: Use `uv` instead of pip for `Update Checker` workflow build: Use `uv` instead of pip for `Patch Apps Info` workflow
- Loading branch information
Showing
2 changed files
with
20 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,10 +25,16 @@ jobs: | |
python-version: "3.11" | ||
|
||
- name: Install dependencies | ||
run: pip install -r auto/scripts/requirements.txt | ||
## Ref: https://github.com/astral-sh/uv/issues/1386 | ||
run: | | ||
pip install uv | ||
uv venv .venv | ||
echo "VIRTUAL_ENV=.venv" >> $GITHUB_ENV | ||
echo "$PWD/.venv/bin" >> $GITHUB_PATH | ||
uv pip install -r auto/scripts/requirements.txt | ||
#- name: Setup Chrome | ||
# uses: browser-actions/[email protected] | ||
# uses: browser-actions/[email protected] | ||
|
||
- name: Update .py file contents | ||
env: | ||
|
@@ -57,10 +63,10 @@ jobs: | |
branch: changelogs | ||
create_branch: true | ||
skip_checkout: true | ||
file_pattern: 'auto/json/env.json auto/apps/apps-merged.json' | ||
commit_options: '--allow-empty' | ||
file_pattern: "auto/json/env.json auto/apps/apps-merged.json" | ||
commit_options: "--allow-empty" | ||
commit_message: 📖 Parsed .env into env.json | ||
push_options: '--force' | ||
push_options: "--force" | ||
|
||
- name: Parse env.json to .env | ||
run: | | ||
|
@@ -74,6 +80,6 @@ jobs: | |
skip_checkout: true | ||
file_pattern: . | ||
repository: . | ||
commit_options: '--allow-empty' | ||
commit_options: "--allow-empty" | ||
commit_message: 📝 Add generated files | ||
push_options: '--force' | ||
push_options: "--force" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters