Skip to content

Commit e5ef94b

Browse files
committed
add prepare job
1 parent dc23305 commit e5ef94b

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/test.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,25 @@ jobs:
2121
run: python -m pip install tox-gh>=1.2
2222
- name: Build package distribution files
2323
run: tox -e clean,build
24+
- name: Record the paths of wheel and source tarball distributions
25+
id: distribution-paths
26+
run: |
27+
echo "wheel=$(ls dist/*.whl)" >> $GITHUB_OUTPUT
28+
echo "tarball=$(ls dist/*.tar.gz)" >> $GITHUB_OUTPUT
29+
- name: Store the distribution files for use in other stages
30+
# `tests`, `pypi-publish`, and `docker-publish` will use the same
31+
# pre-built distributions, so we make sure to release the exact
32+
# same package that was tested
33+
uses: actions/upload-artifact@v3
34+
with:
35+
name: python-distribution-files
36+
path: dist/
37+
retention-days: 1
38+
- name: Keepalive Workflow
39+
uses: gautamkrishnar/keepalive-workflow@1.1.0
40+
with:
41+
time_elapsed: 44
42+
gh_token: ${{ secrets.GITHUB_TOKEN }}
2443

2544
static_checks:
2645
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)