From c34abf6b7eabd6d203d567bcdc938a04ee8fc2d4 Mon Sep 17 00:00:00 2001 From: Angela Yu <5506675+wangela@users.noreply.github.com> Date: Mon, 29 Apr 2024 11:30:47 -0700 Subject: [PATCH 1/2] chore: Update release.yml Match working versions for semantic release from https://github.com/googlemaps/android-maps-compose/blob/main/.github/workflows/release.yml --- .github/workflows/release.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3a3980a..6a6c79f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -33,14 +33,14 @@ jobs: GRADLE_PUBLISH_SECRET: ${{ secrets.GRADLE_PUB_SEC }} - name: Semantic Release - uses: cycjimmy/semantic-release-action@v2 + uses: cycjimmy/semantic-release-action@v4.1.0 with: extra_plugins: | - "@semantic-release/commit-analyzer" - "@semantic-release/release-notes-generator" - "@google/semantic-release-replace-plugin" - "@semantic-release/exec" - "@semantic-release/git - "@semantic-release/github + "@semantic-release/commit-analyzer@8.0.1" + "@semantic-release/release-notes-generator@9.0.3" + "@google/semantic-release-replace-plugin@1.2.0" + "@semantic-release/exec@5.0.0" + "@semantic-release/git@9.0.1" + "@semantic-release/github@7.2.3" env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} From ef8bca0460e95d1dd6c6e936a7a3c5fb784f4c85 Mon Sep 17 00:00:00 2001 From: Angela Yu <5506675+wangela@users.noreply.github.com> Date: Mon, 29 Apr 2024 12:25:26 -0700 Subject: [PATCH 2/2] chore: update release.yml --- .github/workflows/release.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6a6c79f..b4aedea 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,7 +22,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Copy secrets to gradle.properties run: | @@ -31,6 +31,14 @@ jobs: env: GRADLE_PUBLISH_KEY: ${{ secrets.GRADLE_PUB_KEY }} GRADLE_PUBLISH_SECRET: ${{ secrets.GRADLE_PUB_SEC }} + + - name: Set up node + uses: actions/setup-node@v4 + with: + node-version: '14' + + - name: Install conventionalcommits + run: npm i -D conventional-changelog-conventionalcommits - name: Semantic Release uses: cycjimmy/semantic-release-action@v4.1.0