nidhal baccouri
commited on
Commit
·
38dec78
1
Parent(s):
44942c1
added test release on test pypi
Browse files
.github/workflows/test-release.yml
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: test-release
|
2 |
+
|
3 |
+
on:
|
4 |
+
push:
|
5 |
+
branches:
|
6 |
+
- master
|
7 |
+
workflow_run:
|
8 |
+
workflows:
|
9 |
+
- "production-tests"
|
10 |
+
types:
|
11 |
+
- completed
|
12 |
+
jobs:
|
13 |
+
release:
|
14 |
+
name: "Release on Test Pypi"
|
15 |
+
runs-on: ubuntu-latest
|
16 |
+
concurrency: release
|
17 |
+
|
18 |
+
steps:
|
19 |
+
- uses: actions/checkout@v2
|
20 |
+
with:
|
21 |
+
fetch-depth: 0
|
22 |
+
|
23 |
+
- name: Test release on test pypi
|
24 |
+
uses: relekang/python-semantic-release@master
|
25 |
+
with:
|
26 |
+
github_token: ${{ secrets.GITHUB_TOKEN }}
|
27 |
+
repository_username: __token__
|
28 |
+
repository_password: ${{ secrets.TEST_PYPI_TOKEN }}
|
29 |
+
repository_url: https://test.pypi.org/legacy/
|