commit 089f27f2e8b2791cc9bf5c1ee85eb41f38a51b37 parent 84c55283facf0cd6c26c059fa0846c9b633ad2e7 Author: Eric Scouten <scouten@adobe.com> Date: Tue, 31 Jan 2023 16:33:53 -0800 (IGNORE) Update semantic-version GitHub action (#183) Addresses some deprecation warnings during our PR validation and crate publish workflows. Diffstat:
| M | .github/workflows/ci.yml | | | 4 | ++-- |
| M | .github/workflows/publish.yml | | | 6 | ++---- |
2 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml @@ -229,11 +229,11 @@ jobs: semver_only: true - name: Set new version - uses: paulhatch/semantic-version@v4.0.2 + uses: paulhatch/semantic-version@v5.0.2 id: set-version with: tag_prefix: "v" - format: "${major}.${minor}.${patch}" + version_format: "${major}.${minor}.${patch}" major_pattern: "(MAJOR)" minor_pattern: "(MINOR)" diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml @@ -24,13 +24,11 @@ jobs: semver_only: true - name: Set new version - uses: paulhatch/semantic-version@v4.0.2 - ## NEEDS UPDATE for set-output deprecation. - ## See https://github.com/PaulHatch/semantic-version/issues/66. + uses: paulhatch/semantic-version@v5.0.2 id: set-version with: tag_prefix: "v" - format: "${major}.${minor}.${patch}" + version_format: "${major}.${minor}.${patch}" major_pattern: "(MAJOR)" minor_pattern: "(MINOR)"