Skip to content

Commit 71444e9

Browse files
authored
chore: update release.yml
Match working workflow dependencies in other Android repo.
1 parent 60c49d7 commit 71444e9

1 file changed

Lines changed: 20 additions & 8 deletions

File tree

.github/workflows/release.yml

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ jobs:
2626
uses: actions/checkout@v4
2727
with:
2828
token: ${{ secrets.SYNCED_GITHUB_TOKEN_REPO }}
29+
- name: Set up JDK 17
30+
uses: actions/setup-java@v2.3.1
31+
with:
32+
java-version: '17'
33+
distribution: 'adopt'
2934
- name: Create .gpg key
3035
run: |
3136
echo $GPG_KEY_ARMOR | base64 --decode > ./release.asc
@@ -45,16 +50,23 @@ jobs:
4550
SONATYPE_PASSWORD: '${{ secrets.SYNCED_SONATYPE_PASSWORD }}'
4651
SONATYPE_USERNAME: ${{ secrets.SYNCED_SONATYPE_USERNAME }}
4752
GITHUB_PASSWORD: '${{ secrets.SYNCED_GITHUB_TOKEN_REPO }}'
53+
54+
- uses: actions/setup-node@v2
55+
with:
56+
node-version: '14'
57+
58+
- name: Install conventionalcommits
59+
run: npm i -D conventional-changelog-conventionalcommits
60+
4861
- name: Semantic Release
49-
uses: cycjimmy/semantic-release-action@v3
62+
uses: cycjimmy/semantic-release-action@v3.4.1
5063
with:
51-
semantic_version: 19
5264
extra_plugins: |
53-
"@semantic-release/commit-analyzer@^9"
54-
"@semantic-release/release-notes-generator@^10"
55-
"@google/semantic-release-replace-plugin"
56-
"@semantic-release/exec"
57-
"@semantic-release/git"
58-
"@semantic-release/github@^8"
65+
"@semantic-release/commit-analyzer@8.0.1"
66+
"@semantic-release/release-notes-generator@9.0.3"
67+
"@google/semantic-release-replace-plugin@1.2.0"
68+
"@semantic-release/exec@5.0.0"
69+
"@semantic-release/git@9.0.1"
70+
"@semantic-release/github@7.2.3"
5971
env:
6072
GH_TOKEN: ${{ secrets.SYNCED_GITHUB_TOKEN_REPO }}

0 commit comments

Comments
 (0)