diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c6415dc9df..ae77cfe96a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -50,7 +50,6 @@ jobs: runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 - # update the version - name: Get short commit SHA run: | @@ -69,7 +68,6 @@ jobs: - name: Update version in rdmo/__init__.py run: | sed -i "s/__version__ = .*/__version__ = \"${{ steps.new-version.outputs.new_version }}\"/" rdmo/__init__.py - # build the webpack bundle - uses: actions/setup-node@v4 with: @@ -77,21 +75,20 @@ jobs: cache: npm - run: npm install - run: npm run build:prod - # build the wheel - uses: actions/setup-python@v5 with: python-version: '3.12' cache: pip + - run: | + python -m pip install --upgrade pip pipx - run: pipx --version - name: Build the wheel run: pipx run build --wheel - name: Check metadata run: pipx run twine check --strict dist/* - name: Install package from built wheel - run: | - python -m pip install --upgrade pip - python -m pip install dist/rdmo*.whl + run: python -m pip install dist/rdmo*.whl - name: Write info to step summary run: | echo -e "# ✓ Wheel successfully built (v${{ steps.new-version.outputs.new_version }})\n\n" >> $GITHUB_STEP_SUMMARY