diff options
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/build.yml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6aca8a8..05d1b2c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,12 +27,12 @@ jobs: id: date run: echo "DATE_VERSION=$(date +'%s')" >> $GITHUB_OUTPUT - name: Modify version number - uses: mingjun97/file-regex-replace@v1 if: steps.filter.outputs.source == 'true' + uses: jacobtomlinson/gha-find-replace@v3 with: - regex: '"version": "[0-9]*",' - replacement: '"version": "${{ steps.date.outputs.DATE_VERSION }}",' - include: 'config\.json' + find: '"version": "[0-9]*",' + replace: '"version": "${{ steps.date.outputs.DATE_VERSION }}",' + include: 'config.json' - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v4 |
