Skip to content

Commit a84e2ae

Browse files
committed
fix build.yml
1 parent 481f101 commit a84e2ae

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,8 @@ jobs:
1818
cache: maven
1919
- name: Build
2020
run: mvn clean install
21-
- name: Deploy
22-
run: mvn --batch-mode deploy
23-
env:
24-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2521
- name: Retrieve API version
26-
run: 'echo "::set-output name=version::$(mvn -f pom.xml help:evaluate -Dexpression=project.version -q -DforceStdout)"'
22+
run: 'echo "version=$(mvn -f pom.xml help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_OUTPUT'
2723
id: retrieveApiVersion
2824
- name: Release new build
2925
uses: softprops/[email protected]

0 commit comments

Comments
 (0)