Skip to content

Commit

Permalink
Merge pull request #2828 from andrewbaldwin44/bugfix/fix-prerelease
Browse files Browse the repository at this point in the history
Fix PyPI Release and Pre-Release Steps
  • Loading branch information
cyberw authored Aug 5, 2024
2 parents 0f4343b + 68f2e3b commit 2a6862a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,10 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: "3.x"
- name: Set Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: 20.x
- name: Install dependencies
run: |
python -m pip install --upgrade pip poetry
Expand Down Expand Up @@ -217,6 +221,10 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: "3.x"
- name: Set Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: 20.x
- run: git rev-parse HEAD^2 2>/dev/null >/dev/null || echo NOT_MERGE_COMMIT=1 | tee -a $GITHUB_ENV
- name: Install dependencies
if: ${{ env.NOT_MERGE_COMMIT == '' }}
Expand Down

0 comments on commit 2a6862a

Please sign in to comment.