File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3636 with :
3737 java-version : 21
3838 - name : Set Version
39- run : sed -i 's|<version>BUILD-SNAPSHOT</version>|<version>${{ github.event.pull_request.number }}-SNAPSHOT </version>|g' pom.xml
39+ run : sed -i 's|<version>BUILD-SNAPSHOT</version>|<version>PR- ${{ github.event.pull_request.number }}</version>|g' pom.xml
4040 - run : >-
4141 ./mvnw
4242 -s $GITHUB_WORKSPACE/.github/workflows/maven-settings.xml
5858 - name : Remove snapshot version from repository
5959 run : |
6060 curl -X DELETE -u ${{ github.actor }}:${{ secrets.GITHUB_TOKEN }} \
61- https://maven.pkg.github.com/OWNER/REPOSITORY/com/example/myartifact/${{ github.event.pull_request.number }}-SNAPSHOT /
61+ https://maven.pkg.github.com/OWNER/REPOSITORY/com/example/myartifact/PR- ${{ github.event.pull_request.number }}/
You can’t perform that action at this time.
0 commit comments