summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorRobert Honz <exislow+github@gmail.com>2024-11-30 10:29:06 +0100
committerRobert Honz <exislow+github@gmail.com>2024-11-30 10:29:06 +0100
commit076305e389b90b79ddf038c1fdea70ea7f7c8405 (patch)
tree23457877fc894de5e25dc3a3f0e2bc318577e8d8 /.github
parent5cd60489f8fda4aaa8584dce66c5ea9461dab3b1 (diff)
downloadtidal-dl-ng-076305e389b90b79ddf038c1fdea70ea7f7c8405.tar.gz
🛠️ Trying to overcome early timeouts with PyPi.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/on-release-master.yml9
1 files changed, 5 insertions, 4 deletions
diff --git a/.github/workflows/on-release-master.yml b/.github/workflows/on-release-master.yml
index 1da2d93..c8fed8d 100644
--- a/.github/workflows/on-release-master.yml
+++ b/.github/workflows/on-release-master.yml
@@ -35,7 +35,7 @@ jobs:
- name: Export tag
id: vars
run: echo tag=${GITHUB_REF#refs/*/} >> $GITHUB_OUTPUT
- - name: Build and publish
+ - name: Build and publish (PyPi)
run: |
source .venv/bin/activate
poetry version $RELEASE_VERSION
@@ -43,16 +43,17 @@ jobs:
env:
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
RELEASE_VERSION: ${{ steps.vars.outputs.tag }}
- - name: GitHub Release
+ POETRY_REQUESTS_TIMEOUT: 120
+ - name: GitHub Release -- Create
id: release_create
uses: softprops/action-gh-release@v1
with:
draft: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- - name: Output Release URL File
+ - name: GitHub Release -- Output Release URL File
run: echo "${{steps.release_create.outputs.upload_url}}" > ${{env.RELEASE_UPLOAD_URL}}.txt
- - name: Save Upload URL File for publish
+ - name: GitHub Release -- Save Upload URL File for publish
uses: actions/upload-artifact@v4
with:
name: ${{env.RELEASE_UPLOAD_URL}}