Skip to content

Commit

Permalink
feat(release): Add build step (#29)
Browse files Browse the repository at this point in the history
* add build step
  • Loading branch information
hubertdeng123 authored Sep 17, 2024
1 parent f78f9a5 commit 328cdf1
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: build
on:
push:
branches:
- main
- release/**

jobs:
dist:
name: Create Distribution
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5.1.1
with:
python-version: 3.12
- name: "Prepare Artifacts"
run: |
pip install build
python -m build
- uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
with:
name: ${{ github.sha }}
path: dist/*

0 comments on commit 328cdf1

Please sign in to comment.