Skip to content

Commit d1c48e0

Browse files
committed
Fix workflow
1 parent a2a3fb6 commit d1c48e0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/mps_cli_build.yaml

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: MPS-CLI_CI
22

3-
on:
3+
on:
44
push:
55
branches:
66
- 'main'
@@ -28,30 +28,30 @@ jobs:
2828
- name: Set up JDK 11
2929
uses: actions/setup-java@v1
3030
with:
31-
java-version: 11
31+
java-version: 11
3232
- name: Build MPS-CLI and Test
3333
uses: gradle/gradle-build-action@v2
34-
with:
34+
with:
3535
arguments: :plugin:functionalTest --debug
3636
wrapper-cache-enabled: true
3737
dependencies-cache-enabled: true
3838
dependencies-cache-key: gradle/dependency-locks/**
3939
dependencies-cache-exact: true
4040
configuration-cache-enabled: true
4141
build-root-directory: mps-cli-gradle-plugin
42-
- uses: actions/upload-artifact@v3
42+
- uses: actions/upload-artifact@v4
4343
if: failure()
4444
with:
4545
name: gradle-test-report
4646
path: ./mps-cli-gradle-plugin/plugin/build/reports/
4747
- name: Publish
4848
uses: gradle/gradle-build-action@v2
4949
if: github.event_name == 'push' && github.ref_name == 'main'
50-
with:
50+
with:
5151
arguments: :plugin:publish -Pgpr.user=${{github.actor}} -Pgpr.token=${{ secrets.GITHUB_TOKEN }}
5252
wrapper-cache-enabled: true
5353
dependencies-cache-enabled: true
5454
dependencies-cache-key: gradle/dependency-locks/**
5555
dependencies-cache-exact: true
5656
configuration-cache-enabled: true
57-
build-root-directory: mps-cli-gradle-plugin
57+
build-root-directory: mps-cli-gradle-plugin

0 commit comments

Comments
 (0)