Skip to content

Commit

Permalink
Merge pull request #47 from alexravenna/feat/target-option
Browse files Browse the repository at this point in the history
feat: add target option
  • Loading branch information
HaaLeo authored Oct 3, 2023
2 parents f355dfb + 52645b5 commit d60feeb
Show file tree
Hide file tree
Showing 9 changed files with 204 additions and 72 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

### Added

* Adds `--target` functionality for `vsce` and `osvx`. [#37](https://github.com/HaaLeo/publish-vscode-extension/issues/37).

[All Changes](https://github.com/HaaLeo/publish-vscode-extension/compare/v1.4.0...master)

## [1.4.0](https://github.com/HaaLeo/publish-vscode-extension/tree/1.4.0) 2023-07-05
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ You can set any or all of the following input parameters:
|`preRelease` |boolean| no |`false` | Mark the extensions release as pre-release. Is only considered when packaging an extension.
|`dependencies` |boolean| no |`true` | Check that dependencies defined in `package.json` exist in `node_modules`. Set to `false` if using pnpm or yarn v2+ with PnP.
|`skipDuplicate` |boolean| no |`false` | Fail silently if version already exists on the marketplace. Equivalent to the `--skip-duplicate` option of the vsce CLI.
|`target` |string| no | - | Target architecture(s) the extension should run on

## Outputs

Expand Down
10 changes: 7 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ branding:
inputs:
# Required
pat:
description: 'Personal access token'
description: 'Personal access token.'
required: true

# Optional
extensionFile:
description: 'Path to the vsix file to be published. Cannot be used together with packagePath.'
required: false
registryUrl:
description: 'Use the registry API at this base URL'
description: 'Use the registry API at this base URL.'
required: false
default: 'https://open-vsx.org'
packagePath:
Expand Down Expand Up @@ -51,9 +51,13 @@ inputs:
required: false
default: true
skipDuplicate:
description: 'Fail silently if version already exists on the marketplace'
description: 'Fail silently if version already exists on the marketplace.'
required: false
default: false
target:
description: 'Target architecture(s) the extension should run on.'
required: false
default: ''

outputs:
vsixPath:
Expand Down
Loading

0 comments on commit d60feeb

Please sign in to comment.