Update WSTools.psd1 on Release #2
Workflow file for this run
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: Update WSTools.psd1 on Release | |
on: | |
release: | |
types: | |
- published | |
jobs: | |
update-psd1: | |
name: Update WSTools.psd1 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.x' | |
- name: Update WSTools.psd1 | |
run: | | |
cd WSTools | |
python ../update_psd1.py | |
git config user.name "github-actions[bot]" | |
git config user.email "github-actions[bot]@users.noreply.github.com" | |
git add WSTools.psd1 | |
git commit -m "Update WSTools.psd1 version and date for new release" | |
git push |