Skip to content

Commit

Permalink
Fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
wjglerum committed Jan 31, 2025
1 parent a2a3fb6 commit d1c48e0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/mps_cli_build.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: MPS-CLI_CI

on:
on:
push:
branches:
- 'main'
Expand Down Expand Up @@ -28,30 +28,30 @@ jobs:
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
java-version: 11
- name: Build MPS-CLI and Test
uses: gradle/gradle-build-action@v2
with:
with:
arguments: :plugin:functionalTest --debug
wrapper-cache-enabled: true
dependencies-cache-enabled: true
dependencies-cache-key: gradle/dependency-locks/**
dependencies-cache-exact: true
configuration-cache-enabled: true
build-root-directory: mps-cli-gradle-plugin
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: failure()
with:
name: gradle-test-report
path: ./mps-cli-gradle-plugin/plugin/build/reports/
- name: Publish
uses: gradle/gradle-build-action@v2
if: github.event_name == 'push' && github.ref_name == 'main'
with:
with:
arguments: :plugin:publish -Pgpr.user=${{github.actor}} -Pgpr.token=${{ secrets.GITHUB_TOKEN }}
wrapper-cache-enabled: true
dependencies-cache-enabled: true
dependencies-cache-key: gradle/dependency-locks/**
dependencies-cache-exact: true
configuration-cache-enabled: true
build-root-directory: mps-cli-gradle-plugin
build-root-directory: mps-cli-gradle-plugin

0 comments on commit d1c48e0

Please sign in to comment.