diff options
| author | Kevin J Hoerr <kjhoerr@protonmail.com> | 2023-12-24 00:15:17 -0500 |
|---|---|---|
| committer | Kevin J Hoerr <kjhoerr@protonmail.com> | 2023-12-24 00:15:17 -0500 |
| commit | 53dfedebbfcd602b45968a86eb432e4fa645217c (patch) | |
| tree | 445e70e4a139f4597ab7c4f8c4422bb6b6e1b557 /.github | |
| parent | 411f0c09707646bc09865e9a61e834287dfd008b (diff) | |
| download | submelon.dev-53dfedebbfcd602b45968a86eb432e4fa645217c.tar.gz submelon.dev-53dfedebbfcd602b45968a86eb432e4fa645217c.tar.bz2 submelon.dev-53dfedebbfcd602b45968a86eb432e4fa645217c.zip | |
Update workflow for updating build version
Diffstat (limited to '.github')
| -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 |
