Skip to content

Commit

Permalink
Mark pyproject.toml as unchanged in Git under GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
webknjaz committed Jun 10, 2020
1 parent 16d29ef commit 821efc8
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions .github/workflows/build-test-n-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,10 +155,9 @@ jobs:
if: >-
github.event_name == 'push' &&
github.ref == 'refs/heads/devel'
run: >-
echo 'local_scheme = "no-local-version"'
>>
pyproject.toml
run: |
echo 'local_scheme = "no-local-version"' >> pyproject.toml
git update-index --assume-unchanged pyproject.toml
- name: Build dist
run: ${{ steps.install-python.outputs.binary }} -m tox -p auto --parallel-live -vvvv -e build-wheels-pip
- name: Bundle external shared libs
Expand Down Expand Up @@ -224,10 +223,9 @@ jobs:
if: >-
github.event_name == 'push' &&
github.ref == 'refs/heads/devel'
run: >-
echo 'local_scheme = "no-local-version"'
>>
pyproject.toml
run: |
echo 'local_scheme = "no-local-version"' >> pyproject.toml
git update-index --assume-unchanged pyproject.toml
- name: Build dists and verify wheel metadata
run: python -m tox -p auto --parallel-live -vvvv
- name: Store the source distribution
Expand Down Expand Up @@ -269,10 +267,9 @@ jobs:
if: >-
github.event_name == 'push' &&
github.ref == 'refs/heads/devel'
run: >-
echo 'local_scheme = "no-local-version"'
>>
pyproject.toml
run: |
echo 'local_scheme = "no-local-version"' >> pyproject.toml
git update-index --assume-unchanged pyproject.toml
- name: Build sdist and verify metadata
run: python -m tox -p auto --parallel-live -vvvv
- name: Store the source distribution
Expand Down

0 comments on commit 821efc8

Please sign in to comment.