Skip to content

Increment value test #196

Increment value test

Increment value test #196

Workflow file for this run

name: Increment value test
on:
workflow_dispatch:
push:
branches:
- main
paths-ignore:
- 'sbpp-windmill-dashboard/assets/theme_version.txt'
- 'sbpp-windmill-dashboard/version.json'
- '.github/**'
- 'assets/**'
- '**.md'
- '.gitignore'
jobs:
test:
name: Increment value test
runs-on: ubuntu-latest
steps:
- name: Check out source code
uses: actions/checkout@v3
with:
ref: ${{ github.ref }}
token: ${{ secrets.PAT }}
- name: Increment value
uses: yoichiro/gh-action-increment-value@main
with:
target_directory: 'sbpp-windmill-dashboard/assets'
target_file: 'theme_version.txt'
prefix: '** '
suffix: ' **'
commit_message: 'Theme version updated to 0.3.'
- name: Next Version
uses: Piszmog/next-version@v1
with:
token: ${{ secrets.PAT }}
files: version.json