Skip to content

Commit

Permalink
slightly more correct release targets
Browse files Browse the repository at this point in the history
  • Loading branch information
furudean committed Jul 5, 2024
1 parent 0e696bb commit b85b785
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
release:
strategy:
matrix:
os: [macos-latest, windows-latest]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: '${{ matrix.os }}'
steps:
- name: Checkout
Expand All @@ -19,12 +19,17 @@ jobs:

- run: npm install

- run: npm run publish
if: runner.os != 'Windows'
- run: npm run publish -- --target linux-x64
if: matrix.os == 'ubuntu-latest'
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}

- run: npm run publish -- --target darwin-x64 darwin-arm64
if: matrix.os == 'macos-latest'
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}

- run: npm run publish -- --target win32-x64
if: runner.os == 'Windows'
if: matrix.os == 'windows-latest'
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}

0 comments on commit b85b785

Please sign in to comment.