Skip to content

Commit

Permalink
Fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Davidy22 authored and gsemet committed Sep 30, 2021
1 parent 5f71fae commit a1ebb03
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,24 +60,30 @@ jobs:
make test-actions
# prepare for deployment
make generate-paths
- name: Stores dists (Python 3.8)
- uses: Thog/action-equals@v1
id: isLatest
with:
a: ${{ matrix.python-version }}
b: 3.9

- name: Store dists (Python 3.9)
if: steps.isLatest.outputs.result
uses: actions/upload-artifact@v2
if: "${{ matrix.python-version }} == 3.8"
with:
name: dists
path: dist/*
name: dist
path: dist

release-test:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
needs:
- build
if: github.ref == 'refs/heads/master'
steps:
- name: Retrieve dists
uses: actions/download-artifact@v2
with:
name: dists
path: ./
- name: Publish distribution 📦 to Test PyPI
uses: pypa/gh-action-pypi-publish@master
with:
Expand Down

0 comments on commit a1ebb03

Please sign in to comment.