-
Notifications
You must be signed in to change notification settings - Fork 221
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI: Remove python working directory (#71)
- Loading branch information
Showing
3 changed files
with
5 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,7 +25,7 @@ on: | |
version: | ||
description: 'Version' | ||
type: string | ||
default: 'master' | ||
default: 'main' | ||
|
||
|
||
jobs: | ||
|
@@ -50,15 +50,13 @@ jobs: | |
|
||
- name: Set version | ||
run: python -m poetry version "${{ inputs.version }}" | ||
working-directory: ./python | ||
if: "${{ github.event.inputs.version != 'master' }}" | ||
if: "${{ github.event.inputs.version != 'main' }}" | ||
|
||
# Publish the source distribution with the version that's in | ||
# the repository, otherwise the tests will fail | ||
- name: Compile source distribution | ||
run: python3 -m poetry build --format=sdist | ||
if: startsWith(matrix.os, 'ubuntu') | ||
working-directory: ./python | ||
|
||
- name: Build wheels | ||
uses: pypa/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters