-
Notifications
You must be signed in to change notification settings - Fork 7
37 lines (30 loc) · 948 Bytes
/
powershell.yml
File metadata and controls
37 lines (30 loc) · 948 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: PowerShell
# events only for the master branch
on:
push:
branches: [master]
pull_request:
branches: [ master ]
jobs:
build:
# the job will run on ubuntu-latest
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out the repository under $GITHUB_WORKSPACE, so the job can access it
- name: "Checkout the code to build it."
uses: actions/checkout@v2
#set dotnet environment
- name: "set the dotnet environment"
uses: actions/setup-dotnet@v1
with:
dotnet-version: '3.1.x'
# Runs build.ps1 to build the Intersight module
- name: Build the Intersight module
run: .\build.ps1
shell: pwsh
- name: Archive Providers
uses: actions/upload-artifact@v1
with:
name: Intersight.PowerShell
path: Intersight.PowerShell