Skip to content

Commit

Permalink
add build script
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherHX committed Oct 7, 2023
1 parent fa38588 commit d9c07aa
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/deploy-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,26 @@ jobs:
dotnet-version: 7.0.x
- name: Build ExpandAzurePipelines
run: dotnet publish src/ExpandAzurePipelines -c Release --output out
- uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
- uses: actions/setup-node@v3
with:
node-version: 20
- name: Build azure-pipelines-vscode-ext
run: |
npm install
dotnet workload install wasm-tools
npm run build
working-directory: src/azure-pipelines-vscode-ext
- name: Make layout
run: |
mkdir webapp
mv out/wwwroot webapp/ExpandAzurePipelines
mkdir -p webapp/azure-pipelines-vscode-ext
mv src/azure-pipelines-vscode-ext/build webapp/azure-pipelines-vscode-ext/
mv src/azure-pipelines-vscode-ext/dist webapp/azure-pipelines-vscode-ext/
mv src/azure-pipelines-vscode-ext/package.json webapp/azure-pipelines-vscode-ext/
- name: Setup Pages
if: github.event_name == 'push'
uses: actions/configure-pages@v3
Expand Down

0 comments on commit d9c07aa

Please sign in to comment.