Skip to content

Commit

Permalink
chore: update android workflows centrally (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
wangela authored Jul 25, 2023
1 parent c0adc45 commit 6baaaa5
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 13 deletions.
6 changes: 2 additions & 4 deletions .github/blunderbuss.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
assign_issues:
- wangela
assign_prs:
- wangela
assign_issues: []
assign_prs: []
17 changes: 11 additions & 6 deletions sync-files/android/.github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,20 @@ jobs:
GPG_PASSWORD: ${{ secrets.SYNCED_GPG_KEY_PASSWORD }}
SONATYPE_PASSWORD: ${{ secrets.SYNCED_SONATYPE_PASSWORD }}
SONATYPE_USERNAME: ${{ secrets.SYNCED_SONATYPE_USERNAME }}

- uses: actions/setup-node@v2
with:
node-version: '14'

- name: Semantic Release
uses: cycjimmy/semantic-release-action@v3
uses: cycjimmy/semantic-release-action@v3.4.1
with:
extra_plugins: |
"@semantic-release/commit-analyzer"
"@semantic-release/release-notes-generator"
"@semantic-release/commit-analyzer@8.0.1"
"@semantic-release/release-notes-generator@9.0.3"
"@google/semantic-release-replace-plugin"
"@semantic-release/exec"
"@semantic-release/git
"@semantic-release/github
"@semantic-release/exec@5.0.0"
"@semantic-release/git@9.0.1"
"@semantic-release/github@7.2.3"
env:
GH_TOKEN: ${{ secrets.SYNCED_GITHUB_TOKEN_REPO }}
1 change: 1 addition & 0 deletions sync-files/android/.github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ on:
pull_request:
branches-ignore: ['gh-pages']
workflow_dispatch:
workflow_call:

jobs:
test:
Expand Down
2 changes: 1 addition & 1 deletion sync-files/android/.lib_releaserc_groovy
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ plugins:
to: "version = '${nextRelease.version}'"
- files:
- "README.md"
from: ":[0-9].[0-9].[0-9]"
from: ":([0-9]+).([0-9]+).([0-9]+)"
to: ":${nextRelease.version}"
- - "@semantic-release/exec"
- prepareCmd: "./gradlew build --warn --stacktrace"
Expand Down
2 changes: 1 addition & 1 deletion sync-files/android/.lib_releaserc_kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ plugins:
to: "version = '${nextRelease.version}'"
- files:
- "README.md"
from: ":[0-9].[0-9].[0-9]"
from: ":([0-9]+).([0-9]+).([0-9]+)"
to: ":${nextRelease.version}"
- - "@semantic-release/exec"
- prepareCmd: "./gradlew build --warn --stacktrace"
Expand Down
2 changes: 1 addition & 1 deletion sync-files/android/.plugin_releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ plugins:
to: "version = '${nextRelease.version}'"
- files:
- "README.md"
from: ":[0-9].[0-9].[0-9]"
from: ":([0-9]+).([0-9]+).([0-9]+)"
to: ":${nextRelease.version}"
- - "@semantic-release/exec"
- prepareCmd: "./gradlew build --warn --stacktrace"
Expand Down

0 comments on commit 6baaaa5

Please sign in to comment.