Skip to content

Commit

Permalink
fix: add windows compatibility (#114)
Browse files Browse the repository at this point in the history
* fix: add windows compatibility

* chore: test on ubuntu, macos, and windows runners
  • Loading branch information
bobbyg603 authored May 21, 2024
1 parent 0f05a58 commit 2caa0aa
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,20 @@ on:

jobs:
test-my-action:
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- name: ☑️ Checkout
uses: actions/checkout@v3

- name: 📦 Symbols
uses: ./
with:
clientId: "${{ secrets.SYMBOL_UPLOAD_CLIENT_ID }}"
clientSecret: "${{ secrets.SYMBOL_UPLOAD_CLIENT_SECRET }}"
database: "${{ secrets.BUGSPLAT_DATABASE }}"
clientId: ${{ secrets.SYMBOL_UPLOAD_CLIENT_ID }}
clientSecret: ${{ secrets.SYMBOL_UPLOAD_CLIENT_SECRET }}
database: ${{ secrets.BUGSPLAT_DATABASE }}
application: "symbol-upload-test"
version: "1.0"
directory: "spec/support"
Expand Down
4 changes: 2 additions & 2 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@ runs:
node-version: ${{ inputs.node-version }}

- name: Install symbol-upload
shell: bash
shell: pwsh
run: npm i -g @bugsplat/symbol-upload

- name: Run symbol-upload
shell: bash
shell: pwsh
run: >-
symbol-upload
-b "${{ inputs.database }}"
Expand Down

0 comments on commit 2caa0aa

Please sign in to comment.