added first test for a nighlty build
This commit is contained in:
@@ -21,8 +21,13 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: '0'
|
fetch-depth: '0'
|
||||||
|
- name: Setup package Name
|
||||||
|
if: ${{ github.ref_name == 'pyproject.toml'}}
|
||||||
|
run: |
|
||||||
|
sed -i 's/name = "scraibe"/name = "scraibe-nightly"/' pyproject.toml
|
||||||
|
echo "You are running on the develop branch deploying to nightly!"
|
||||||
- name: Set up Poetry 📦
|
- name: Set up Poetry 📦
|
||||||
if: ${{ !(startsWith(github.ref, 'refs/tags'))}}
|
if: ${{ !(startsWith(github.ref, 'refs/tags')) }}
|
||||||
uses: JRubics/poetry-publish@v1.16
|
uses: JRubics/poetry-publish@v1.16
|
||||||
with:
|
with:
|
||||||
pypi_token: ${{ secrets.TEST_PYPI_API_TOKEN }}
|
pypi_token: ${{ secrets.TEST_PYPI_API_TOKEN }}
|
||||||
|
|||||||
Reference in New Issue
Block a user