Skip to content

Commit

Permalink
Create ps74test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sergei-pyshnoi committed Dec 29, 2023
1 parent b3dd4c5 commit 9a5bd7d
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/ps74test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# This is a basic workflow to help you get started with Actions

name: powershell 7.4 test

# Controls when the workflow will run
on:

workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
install-powershell:
runs-on: ubuntu-latest

- name: Install PowerShell
run: |
# Установка зависимостей
sudo apt-get update
sudo apt-get install -y \
curl \
apt-transport-https \
ca-certificates \
software-properties-common
# Добавление репозитория PowerShell
curl https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb -o packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
sudo apt-get update
# Установка PowerShell 7.4
sudo apt-get install -y powershell=7.4.0-1.ubuntu.20.04
- name: Verify PowerShell installation
run: pwsh --version

0 comments on commit 9a5bd7d

Please sign in to comment.