Skip to content

Commit

Permalink
s
Browse files Browse the repository at this point in the history
  • Loading branch information
afuetterer committed Jul 15, 2024
1 parent fa879a6 commit 71569aa
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ jobs:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4

# update the version
- name: Get short commit SHA
run: |
Expand All @@ -69,29 +68,27 @@ 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:
node-version: 18
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
Expand Down

0 comments on commit 71569aa

Please sign in to comment.