Skip to content

Commit

Permalink
ci(ci/cd): remove pnpm ci
Browse files Browse the repository at this point in the history
  • Loading branch information
yacosta738 committed Dec 28, 2023
1 parent abdc338 commit 4b2acdb
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
17 changes: 17 additions & 0 deletions .github/actions/install/java/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ inputs:
description: 'The arguments to pass to the gradle command'
required: false
default: 'projects'
github_token:
description: 'GITHUB_TOKEN'
default: '${{ github.token }}'

runs:
using: composite
Expand All @@ -28,6 +31,20 @@ runs:

- name: ⚙️ Setup Gradle 🐘
uses: gradle/[email protected]
id: gradle
with:
arguments: ${{ inputs.gradle-arguments }}
dependency-graph: generate-and-submit

- name: Add Build Scan URL as PR comment
uses: actions/github-script@v5
if: github.event_name == 'pull_request' && failure()
with:
github-token: ${{ inputs.github_token }}
script: |
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: '❌ ${{ github.workflow }} failed: ${{ steps.gradle.outputs.build-scan-url }}'
})
1 change: 0 additions & 1 deletion .github/workflows/deploy-main-stage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ jobs:

- name: Run Semantic Release
run: |
pnpm ci
npx semantic-release
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/pre-release-stage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ jobs:

- name: Run Semantic Release
run: |
pnpm ci
npx semantic-release
env:
GITHUB_TOKEN: ${{ env.CI_GITHUB_TOKEN }}

0 comments on commit 4b2acdb

Please sign in to comment.