Skip to content

Commit 59d54c7

Browse files
committed
release: setup python for packaging
1 parent 78908a7 commit 59d54c7

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ jobs:
3232
- name: Checkout
3333
uses: actions/checkout@v4
3434

35+
- name: Set up Python
36+
uses: actions/setup-python@v5
37+
with:
38+
python-version: "3.x"
39+
3540
- name: Install Rust
3641
uses: dtolnay/rust-toolchain@stable
3742

@@ -42,7 +47,7 @@ jobs:
4247
run: cargo build --release -p rexos-cli --locked
4348

4449
- name: Package
45-
run: python3 scripts/package_release.py --version "${{ github.ref_name }}" --target "${{ matrix.target }}" --bin "${{ matrix.bin }}" --out-dir dist
50+
run: python scripts/package_release.py --version "${{ github.ref_name }}" --target "${{ matrix.target }}" --bin "${{ matrix.bin }}" --out-dir dist
4651

4752
- name: Upload artifact
4853
uses: actions/upload-artifact@v4
@@ -71,4 +76,3 @@ jobs:
7176
with:
7277
files: dist/**
7378
generate_release_notes: true
74-

0 commit comments

Comments
 (0)