Skip to content

Commit

Permalink
Merge pull request #83 from google/wangela/release
Browse files Browse the repository at this point in the history
chore: Update release.yml
  • Loading branch information
wangela authored Apr 29, 2024
2 parents 16b9e72 + ef8bca0 commit ffe2539
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -31,16 +31,24 @@ 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@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 }}

0 comments on commit ffe2539

Please sign in to comment.