Fix get diag settings for resource #37
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: Create Powershell modules from script files | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- 'develop' | |
paths: | |
- 'scripts/*' | |
jobs: | |
create_modules: | |
name: Create Modules | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Run script | |
if: success() | |
shell: pwsh | |
run: | | |
./modules/CreateModules.ps1 | |
- name: Push created module back to repo | |
uses: EndBug/add-and-commit@v9 | |
if: success() |