Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
afuetterer committed Dec 4, 2023
1 parent c3fdcf2 commit f36cc3b
Showing 1 changed file with 3 additions and 23 deletions.
26 changes: 3 additions & 23 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,29 +153,9 @@ jobs:
cache: npm
- run: npm install
- run: npm run build:prod
- uses: actions/setup-python@v4
with:
python-version: '3.12'
cache: pip
- run: python -m pip install --upgrade build pip setuptools wheel
- run: python -m build --wheel
- uses: actions/upload-artifact@v3
with:
name: wheel
path: dist/rdmo*.whl
if-no-files-found: error
retention-days: 30
- run: |
unzip rdmo*.whl
echo "## Metadata" >> summary.md
echo "| --- | --- |" >> summary.md
head -5 N rdmo*.dist-info/METADATA | while IFS= read -r line; do
key=$(echo "$line" | cut -d":" -f1)
value=$(echo "$line" | cut -d":" -f2)
echo "| $key | $value |" >> summary.md
done
cat summary.md >> $GITHUB_STEP_SUMMARY
working-directory: ./dist

- uses: hynek/build-and-inspect-python-package@v1


# dev-setup:
# # Ref: structlog (MIT licensed) <https://github.com/hynek/structlog/blob/main/.github/workflows/ci.yml>
Expand Down

0 comments on commit f36cc3b

Please sign in to comment.