Use add-and-commit@v4.0.0

This commit is contained in:
Federico Grandi
2020-03-03 19:42:01 +01:00
parent 06fd39b8b7
commit 79fa1f9f98

View File

@@ -5,6 +5,7 @@ on:
- dist
paths:
- src/**
- .github/workflows/build.yml
jobs:
build:
@@ -26,11 +27,10 @@ jobs:
run: npm run build
- name: Commit changes
uses: EndBug/add-and-commit@v2
uses: EndBug/add-and-commit@v4.0.0
with:
force: true
message: "[auto] Update compiled version"
path: lib
pattern: "*.js"
add: lib
force: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}