Skip to content

Commit

Permalink
Publish to main (#920)
Browse files Browse the repository at this point in the history
* Update Dev Kit sample testing process

* Update ADD_SAMPLE_INTO_DEV_KIT.md

Co-authored-by: Alex Jerabek <[email protected]>

* Update ADD_SAMPLE_INTO_DEV_KIT.md

Co-authored-by: Alex Jerabek <[email protected]>

---------

Co-authored-by: Herman Wen <[email protected]>
Co-authored-by: Herman Wen <[email protected]>
  • Loading branch information
3 people authored Jan 15, 2025
1 parent ab5b27c commit 07cc664
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions ADD_SAMPLE_INTO_DEV_KIT.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,9 @@ For new samples, use `dev` as the target branch for pull requests. The `dev` bra

## Testing

1. Uninstall the installed Office Add-ins Development Kit.
2. Download the [test version of Dev Kit](./assets/dev-kit-test-package.vsix) and install it manually in VSCode.
3. Set the environment variable `OTK_SAMPLE_CONFIG_BRANCH` to `dev` or other branch with a valid [sample-config.json](./.config/sample-config.json) of this repo on your development machine. Setting this variable will force sample gallery to use the config in the dedicated branch instead of `main`.
4. Open Dev Kit. Select `View Samples` to view sample gallery and do testing.
1. Install the latest Office Add-ins Development Kit, make sure the version is equal or higher than 1.0.1.
2. Set the environment variable `OTK_SAMPLE_CONFIG_BRANCH` to `dev` or other branch with a valid [sample-config.json](./.config/sample-config.json) of this repo on your development machine. Setting this variable will force the sample gallery to use the configuration in the dedicated branch instead of `main`.
3. Open the Development Kit. Select `View Samples` to view sample gallery and test.

## Check in the new sample into the sample gallery

Expand Down

0 comments on commit 07cc664

Please sign in to comment.