Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonShin committed Aug 11, 2024
1 parent f345c04 commit 9b17d14
Showing 1 changed file with 63 additions and 16 deletions.
79 changes: 63 additions & 16 deletions .github/workflows/install-sqlx-ts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,39 +7,86 @@ on:
branches: [ main ]

jobs:
install:
install-bash:
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: ubuntu-latest
shell: sh
- os: ubuntu-latest
shell: bash
- os: macos-latest
shell: sh
- os: macos-latest
shell: bash
- os: windows-latest
shell: sh
- os: windows-latest
shell: bash
- os: windows-latest
shell: pwsh
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
- name: Install sqlx-ts
shell: bash
run: npm install -g sqlx-ts
- name: run sqlx-ts help
shell: bash
run: sqlx-ts --help
- name: run sqlx-ts version
shell: bash
run: sqlx-ts --version

install-sh:
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: ubuntu-latest
- os: macos-latest
- os: windows-latest
shell: PowerShell
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
- name: Install sqlx-ts
shell: "${{ matrix.shell }}"
shell: sh
run: npm install -g sqlx-ts
- name: run sqlx-ts help
shell: sh
run: sqlx-ts --help
- name: run sqlx-ts version
shell: sh
run: sqlx-ts --version

install-pwsh:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
- name: Install sqlx-ts
shell: pwsh
run: npm install -g sqlx-ts
- name: run sqlx-ts help
shell: "${{ matrix.shell }}"
shell: pwsh
run: sqlx-ts --help
- name: run sqlx-ts version
shell: "${{ matrix.shell }}"
shell: pwsh
run: sqlx-ts --version

install-powershell:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
- name: Install sqlx-ts
shell: PowerShell
run: npm install -g sqlx-ts
- name: run sqlx-ts help
shell: PowerShell
run: sqlx-ts --help
- name: run sqlx-ts version
shell: PowerShell
run: sqlx-ts --version

0 comments on commit 9b17d14

Please sign in to comment.