Skip to content

Commit

Permalink
chore: add poetry to PATH on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
mxsdev committed Sep 19, 2024
1 parent 180063c commit b361fb6
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,22 @@ jobs:
- name: Install Poetry
uses: snok/install-poetry@v1

- name: Add Poetry to PATH on windows-latest
if: matrix.osname == 'win'
shell: bash
run: |
echo "C:\Users\runneradmin\.local\bin" >> $GITHUB_PATH
- name: Check Poetry
run: poetry --version

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20

- name: Install dependencies
run: ${{ (matrix.osname == 'win' && 'runas /user:Administrator "npm install"') || 'npm ci' }}
run: npm ci

- name: Bundle CLI
run: npm run bundle:cli
Expand Down

0 comments on commit b361fb6

Please sign in to comment.