added version to commit

This commit is contained in:
amd64fox 2023-11-18 21:26:35 +03:00 committed by GitHub
parent 8a2a7a168f
commit a65648bd92
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,7 +6,9 @@ on:
datajson:
description: 'Version to update'
required: true
version:
description: 'Another version parameter'
required: true
jobs:
update-version:
runs-on: ubuntu-latest
@ -30,5 +32,5 @@ jobs:
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git add versions.json
git commit -m "Update version"
git commit -m "Update version to ${{ github.event.inputs.version }}"
git push