Skip to content
This repository has been archived by the owner on Jun 7, 2023. It is now read-only.

Commit

Permalink
this should work
Browse files Browse the repository at this point in the history
  • Loading branch information
lsbardel committed Aug 3, 2020
1 parent a010587 commit 81a4ce7
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,6 @@ jobs:
- name: upload coverage
if: matrix.python-version == '3.8'
run: make codecov
- name: test version
id: publish
run: echo ::set-output name=publish::$(make test-version)
- name: test variable value
run: echo ${{steps.publish.outputs.publish}}

release:
runs-on: ubuntu-latest
Expand All @@ -69,16 +64,15 @@ jobs:
- name: install dataclasses
if: matrix.python-version == '3.6'
run: pip install dataclasses
- name: test version
- name: check if we can publish
id: check
run: echo ::set-output name=release::$(make test-version)
- name: test variable value
run: echo $(steps.vars.outputs.release)
- name: build python bundle
if: steps.vars.outputs.release == 'yes'
if: steps.check.outputs.release == 'yes'
run: "make bundle${{ matrix.python-version }}"
- name: release to pypi
if: steps.vars.outputs.release == 'yes'
if: steps.check.outputs.release == 'yes'
run: make release-pypi
- name: release to github
if: steps.vars.outputs.release == 'yes' && matrix.python-version == '3.8'
if: steps.check.outputs.release == 'yes' && matrix.python-version == '3.8'
run: make release-github

0 comments on commit 81a4ce7

Please sign in to comment.