Skip to content

Commit

Permalink
Update release-beta.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam-it authored Oct 16, 2023
1 parent 5bd51c6 commit 7cf7fd6
Showing 1 changed file with 16 additions and 9 deletions.
25 changes: 16 additions & 9 deletions .github/workflows/release-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/[email protected]
- name: Setup node
uses: actions/[email protected]
with:
node-version: 18
registry-url: https://registry.npmjs.org/
Expand All @@ -30,29 +31,35 @@ jobs:
path: cli-microsoft365
ref: cli-cjs

- run: |
- name: Print dir
run: |
dir
- name: Restore dependencies for cli-microsoft365
run: npm install
working-directory: cli-microsoft365

- run: |
dir cli-microsoft365/
- name: Build cli-microsoft365
run: npm run build
working-directory: cli-microsoft365

- run: .\vscode-viva\scripts\cli-for-microsoft365-copy-local-version.ps1 -workspacePath "${{ github.workspace }}"

- name: Run script copy local CLI for M365
run: .\vscode-viva\scripts\cli-for-microsoft365-copy-local-version.ps1 -workspacePath "${{ github.workspace }}"
shell: pwsh
continue-on-error: false

- run: .\vscode-viva\scripts\cli-for-microsoft365-cleanup.ps1 -workspacePath "${{ github.workspace }}"
- name: Run script clean local CLI for M365 dependency
run: .\vscode-viva\scripts\cli-for-microsoft365-cleanup.ps1 -workspacePath "${{ github.workspace }}"
shell: pwsh
continue-on-error: false

- uses: actions/upload-artifact@v3
- name: Package
run: |
vsce package
working-directory: vscode-viva

- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: vsix_package
path: |
Expand Down

0 comments on commit 7cf7fd6

Please sign in to comment.