From d1c48e07132c251ae795e8c6d12177e7f06e1c70 Mon Sep 17 00:00:00 2001 From: Willem Jan Glerum Date: Fri, 31 Jan 2025 14:21:17 +0100 Subject: [PATCH] Fix workflow --- .github/workflows/mps_cli_build.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/mps_cli_build.yaml b/.github/workflows/mps_cli_build.yaml index 0e6955f..3137a95 100644 --- a/.github/workflows/mps_cli_build.yaml +++ b/.github/workflows/mps_cli_build.yaml @@ -1,6 +1,6 @@ name: MPS-CLI_CI -on: +on: push: branches: - 'main' @@ -28,10 +28,10 @@ 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 @@ -39,7 +39,7 @@ jobs: 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 @@ -47,11 +47,11 @@ jobs: - 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 \ No newline at end of file + build-root-directory: mps-cli-gradle-plugin