Skip to content

Action-Test - [🌟 [Major]: Introducing Install-PowerShell action #1] by @MariusStorhaug #5

Action-Test - [🌟 [Major]: Introducing Install-PowerShell action #1] by @MariusStorhaug

Action-Test - [🌟 [Major]: Introducing Install-PowerShell action #1] by @MariusStorhaug #5

Workflow file for this run

name: Action-Test
run-name: "Action-Test - [${{ github.event.pull_request.title }} #${{ github.event.pull_request.number }}] by @${{ github.actor }}"
on:
workflow_dispatch:
pull_request:
schedule:
- cron: '0 0 * * *'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
pull-requests: read
jobs:
ActionTestBasic:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
version: ['7.4.0', '7.5.0'] # Specify the versions to test
name: Action-Test - [Basic]
runs-on: ${{ matrix.os }}
steps:
# Need to check out as part of the test, as its a local action
- name: Checkout repo
uses: actions/checkout@v4
- name: Action-Test
uses: ./
with:
Version: ${{ matrix.version }}
- name: Test version
shell: pwsh
run: |
$PSVersionTable | Format-Table -AutoSize
if ($PSVersionTable.PSVersion -ne '${{ matrix.version }}') {
throw "Failed to install the expected version"
}