From 7b706b034287951fb569394838151e27a478b3c0 Mon Sep 17 00:00:00 2001 From: BAStos525 Date: Mon, 18 Nov 2024 13:59:39 +0300 Subject: [PATCH] Setup pypi publishing Signed-off-by: BAStos525 --- .github/workflows/main.yml | 4 ++-- .github/workflows/pr-pytests.yml | 2 +- Cargo.toml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1d4d5ad6..1fb09c6c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [ 3.12 ] + python-version: [ 3.8 ] steps: - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 @@ -41,7 +41,7 @@ jobs: name: pypi url: https://pypi.org/project/iroha2/ permissions: - id-token: write # IMPORTANT: mandatory for trusted publishing + id-token: write steps: - name: Download all the dists uses: actions/download-artifact@v4 diff --git a/.github/workflows/pr-pytests.yml b/.github/workflows/pr-pytests.yml index d1d43acb..228673d8 100644 --- a/.github/workflows/pr-pytests.yml +++ b/.github/workflows/pr-pytests.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [ 3.12 ] + python-version: [ 3.8 ] steps: - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 diff --git a/Cargo.toml b/Cargo.toml index 7c87e0d6..a07211be 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "iroha-python" -version = "0.1.0" +version = "0.1.1" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html