This repository has been archived by the owner on May 18, 2024. It is now read-only.
Prepare Release #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "[Prototype] Prepare Release" | |
on: | |
workflow_dispatch: | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Use Node.js 20 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
registry-url: 'https://registry.npmjs.org' | |
- name: Checkout PnP PowerShell VS Code Extension | |
uses: actions/checkout@v4 | |
with: | |
path: pnp-powershell-extension | |
- name: Checkout PnP PowerShell | |
uses: actions/checkout@v4 | |
with: | |
repository: pnp/powershell | |
path: powershell | |
- name: Checkout PnP Script Samples | |
uses: actions/checkout@v4 | |
with: | |
repository: pnp/script-samples | |
path: script-samples | |
- name: Run create script samples script | |
run: .\pnp-powershell-extension\scripts\createScriptSampleDefenition.ps1 -PathToWorkspace ".\" | |
shell: pwsh | |
continue-on-error: false | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v5 | |
with: | |
path: pnp-powershell-extension | |
commit-message: prepare release | |
branch: prepare-release | |
title: Prepare Release | |
body: Prepare Release | |
... |