Skip to content

Merge pull request #803 from getappmap/develop #20

Merge pull request #803 from getappmap/develop

Merge pull request #803 from getappmap/develop #20

Workflow file for this run

name: Deploy
on:
workflow_dispatch:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Fetch Sources
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Gradle Wrapper Validation
uses: gradle/actions/wrapper-validation@v3
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 21
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Run Linters and Tests
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
shell: bash
run: ./gradlew check
- name: Verify plugin
shell: bash
run: ./gradlew verifyPluginProjectConfiguration
- name: Run Plugin Verifier
shell: bash
run: ./gradlew verifyPlugin
- name: "Install Dependencies"
shell: bash
run: |
npm i -g \
semantic-release@23 \
@semantic-release/exec@6 \
@semantic-release/git@10 \
@semantic-release/changelog@6 \
@google/semantic-release-replace-plugin@1 \
[email protected]
- name: "Deploy"
shell: bash
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
GIT_AUTHOR_NAME: appland-release
GIT_AUTHOR_EMAIL: [email protected]
GIT_COMMITTER_NAME: appland-release
GIT_COMMITTER_EMAIL: [email protected]
run: semantic-release --debug