1
0
mirror of synced 2025-12-23 11:54:18 -05:00

Remove redundant versioning from admin, actions articles (#52425)

This commit is contained in:
Vanessa
2024-09-27 07:57:12 +10:00
committed by GitHub
parent 63e9b88c1f
commit e340726089
31 changed files with 22 additions and 138 deletions

View File

@@ -16,7 +16,7 @@ topics:
- PowerShell
shortTitle: Build & test PowerShell
---
{% data reusables.actions.enterprise-github-hosted-runners %}
## Introduction
@@ -109,7 +109,7 @@ The table below describes the locations for various PowerShell modules in each {
{% endnote %}
{% ifversion actions-caching %}You can also cache dependencies to speed up your workflow. For more information, see "[AUTOTITLE](/actions/using-workflows/caching-dependencies-to-speed-up-workflows)."{% endif %}
You can also cache dependencies to speed up your workflow. For more information, see "[AUTOTITLE](/actions/using-workflows/caching-dependencies-to-speed-up-workflows)."
For example, the following job installs the `SqlServer` and `PSScriptAnalyzer` modules:
@@ -133,8 +133,6 @@ jobs:
{% endnote %}
{% ifversion actions-caching %}
### Caching dependencies
You can cache PowerShell dependencies using a unique key, which allows you to restore the dependencies for future workflows with the [`cache`](https://github.com/marketplace/actions/cache) action. For more information, see "[AUTOTITLE](/actions/using-workflows/caching-dependencies-to-speed-up-workflows)."
@@ -158,8 +156,6 @@ steps:
Install-Module SqlServer, PSScriptAnalyzer -ErrorAction Stop
```
{% endif %}
## Testing your code
You can use the same commands that you use locally to build and test your code.