Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,6 @@ on:
required: false
type: string
default: dev
package_command:
required: false
type: string
description: Command used to build python package
default: >-
python -m
build
-C--global-option=egg_info
-C--global-option=--tag-build=+dev$(git rev-parse --short HEAD)
--wheel
--outdir dist/
secrets:
PRIVATE_KEY:
required: false
Expand Down Expand Up @@ -72,7 +61,6 @@ jobs:
- pre-commit
with:
kind: "${{ inputs.kind }}"
cmd: "${{ inputs.package_command }}"

build-native:
name: Python Native Builds
Expand Down
27 changes: 12 additions & 15 deletions .github/workflows/package-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,7 @@ on:
required: false
type: string
default: dev
cmd:
required: false
type: string
description: Command used to build python package
default: >-
python -m
build
-C--global-option=egg_info
-C--global-option=--tag-build=dev$(git rev-parse --short HEAD)
--wheel
--outdir dist/
description: "'release' produces a clean PEP 440 version; anything else tags the build with +dev<sha>."
outputs:
version:
value: "${{ jobs.build.outputs.version }}"
Expand Down Expand Up @@ -67,11 +57,18 @@ jobs:
pkginfo
--user

- name: Echo Build Wheel Command
run: echo "${{ inputs.cmd }}"
- name: Build Release Wheel
if: inputs.kind == 'release'
run: python -m build --wheel --outdir dist/

- name: Build Wheel
run: "${{ inputs.cmd }}"
- name: Build Dev Wheel
if: inputs.kind != 'release'
run: >-
python -m build
-C--global-option=egg_info
-C--global-option=--tag-build=+dev$(git rev-parse --short HEAD)
--wheel
--outdir dist/

- name: Python Build Artifact
uses: actions/upload-artifact@v4
Expand Down
10 changes: 0 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,6 @@ on:
required: false
type: string
default: dev
package_command:
required: false
type: string
description: Command used to build python package
default: >-
python -m
build
--wheel
--outdir dist/

jobs:
ci:
Expand All @@ -28,6 +19,5 @@ jobs:
if: contains('["dwoz", "twangboy", "dmurhpy18"]', github.actor)
with:
kind: "${{ inputs.kind }}"
package_command: "${{ inputs.package_command }}"
secrets:
PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}
Loading