Skip to content

Commit dc49bde

Browse files
committed
ci: fix replace version step
1 parent cb2afa1 commit dc49bde

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,9 @@ jobs:
1111
build:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- name: Install Deno
15-
uses: denoland/setup-deno@v1
14+
- uses: actions/setup-python@v5
1615
with:
17-
deno-version: v1.x
16+
python-version: '3.10'
1817

1918
- uses: actions/setup-java@v4
2019
with:
@@ -43,7 +42,9 @@ jobs:
4342
OUTPUT: CHANGES.md
4443

4544
- name: Replace build.gradle versions to current tag
46-
run: deno run --allow-run --allow-write --allow-read scripts/replace-gradle-version.js --version=${{ github.ref_name }}
45+
run: |
46+
export PYTHONPATH="$(pwd)/scripts"
47+
python scripts/replace-gradle-version.py ${{ github.ref_name }}
4748
4849
- name: Build libraries
4950
run: ./gradlew build

0 commit comments

Comments
 (0)