Bump #717
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
# This is a basic workflow to help you get started with Actions | |
name: Bump | |
# Controls when the workflow will run | |
on: | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
schedule: | |
- cron: '0 0 * * *' | |
jobs: | |
bump: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.head_ref }} | |
token: ${{ secrets.PAT }} | |
- name: Install required PowerShell modules | |
if: steps.cacher.outputs.cache-hit != 'true' | |
shell: pwsh | |
run: | | |
Set-PSRepository PSGallery -InstallationPolicy Trusted | |
Install-Module PSIni -ErrorAction Stop | |
- name: Bump | |
run: pwsh -ExecutionPolicy ByPass -File bump.ps1 | |
timeout-minutes: 10 | |
- name: Commit | |
if: env.SHOULD_COMMIT == 'yes' | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: ${{ env.UPSTREAM_TAG }} |