Skip to content

Commit

Permalink
🛠️ Trying to overcome early timeouts with PyPi.
Browse files Browse the repository at this point in the history
  • Loading branch information
exislow committed Nov 30, 2024
1 parent 5cd6048 commit 076305e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/on-release-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,24 +35,25 @@ 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
make build-and-publish
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}}
Expand Down

0 comments on commit 076305e

Please sign in to comment.