Skip to content

Commit 6baaaa5

Browse files
authored
chore: update android workflows centrally (#65)
1 parent c0adc45 commit 6baaaa5

6 files changed

Lines changed: 17 additions & 13 deletions

File tree

.github/blunderbuss.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
1-
assign_issues:
2-
- wangela
3-
assign_prs:
4-
- wangela
1+
assign_issues: []
2+
assign_prs: []

sync-files/android/.github/workflows/release.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,20 @@ jobs:
4545
GPG_PASSWORD: ${{ secrets.SYNCED_GPG_KEY_PASSWORD }}
4646
SONATYPE_PASSWORD: ${{ secrets.SYNCED_SONATYPE_PASSWORD }}
4747
SONATYPE_USERNAME: ${{ secrets.SYNCED_SONATYPE_USERNAME }}
48+
49+
- uses: actions/setup-node@v2
50+
with:
51+
node-version: '14'
52+
4853
- name: Semantic Release
49-
uses: cycjimmy/semantic-release-action@v3
54+
uses: cycjimmy/semantic-release-action@v3.4.1
5055
with:
5156
extra_plugins: |
52-
"@semantic-release/commit-analyzer"
53-
"@semantic-release/release-notes-generator"
57+
"@semantic-release/commit-analyzer@8.0.1"
58+
"@semantic-release/release-notes-generator@9.0.3"
5459
"@google/semantic-release-replace-plugin"
55-
"@semantic-release/exec"
56-
"@semantic-release/git
57-
"@semantic-release/github
60+
"@semantic-release/exec@5.0.0"
61+
"@semantic-release/git@9.0.1"
62+
"@semantic-release/github@7.2.3"
5863
env:
5964
GH_TOKEN: ${{ secrets.SYNCED_GITHUB_TOKEN_REPO }}

sync-files/android/.github/workflows/test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ on:
2323
pull_request:
2424
branches-ignore: ['gh-pages']
2525
workflow_dispatch:
26+
workflow_call:
2627

2728
jobs:
2829
test:

sync-files/android/.lib_releaserc_groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ plugins:
1111
to: "version = '${nextRelease.version}'"
1212
- files:
1313
- "README.md"
14-
from: ":[0-9].[0-9].[0-9]"
14+
from: ":([0-9]+).([0-9]+).([0-9]+)"
1515
to: ":${nextRelease.version}"
1616
- - "@semantic-release/exec"
1717
- prepareCmd: "./gradlew build --warn --stacktrace"

sync-files/android/.lib_releaserc_kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ plugins:
1111
to: "version = '${nextRelease.version}'"
1212
- files:
1313
- "README.md"
14-
from: ":[0-9].[0-9].[0-9]"
14+
from: ":([0-9]+).([0-9]+).([0-9]+)"
1515
to: ":${nextRelease.version}"
1616
- - "@semantic-release/exec"
1717
- prepareCmd: "./gradlew build --warn --stacktrace"

sync-files/android/.plugin_releaserc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ plugins:
1111
to: "version = '${nextRelease.version}'"
1212
- files:
1313
- "README.md"
14-
from: ":[0-9].[0-9].[0-9]"
14+
from: ":([0-9]+).([0-9]+).([0-9]+)"
1515
to: ":${nextRelease.version}"
1616
- - "@semantic-release/exec"
1717
- prepareCmd: "./gradlew build --warn --stacktrace"

0 commit comments

Comments
 (0)