Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 39bed16

Browse files
authored
Pass GitHubVS_ClientId/ClientSecret using env vars
This should allow defaults to be set in .csproj file.
1 parent b67d47f commit 39bed16

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,10 @@ jobs:
4848

4949
- name: MSBuild ${{ env.githubvsSolution }}
5050
run: |
51-
msbuild ${{ env.githubvsSolution }} /p:Configuration=${{ env.config }} /p:TargetVsixContainer=${{ env.vsixContainer }} /p:DeployExtension=False /p:GitHubVS_ClientId="${{ secrets.GitHubVS_ClientId }}" /p:GitHubVS_ClientSecret="${{ secrets.GitHubVS_ClientSecret }}"
51+
msbuild ${{ env.githubvsSolution }} /p:Configuration=${{ env.config }} /p:TargetVsixContainer=${{ env.vsixContainer }} /p:DeployExtension=False
52+
env:
53+
GitHubVS_ClientId: ${{ secrets.GitHubVS_ClientId }}
54+
GitHubVS_ClientSecret: ${{ secrets.GitHubVS_ClientSecret }}
5255

5356
- name: Upload VSIX artifact
5457
uses: actions/upload-artifact@v1

0 commit comments

Comments
 (0)