File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616 contents : read
1717 packages : write
1818
19+ outputs :
20+ PROJECT_VERSION : ${{ steps.project-version.outputs.PROJECT_VERSION }}
21+
1922 steps :
2023 - uses : actions/checkout@v3
2124 - name : Set up JDK 11
3235 GITHUB_TOKEN : ${{ github.token }}
3336
3437 - name : Save project version
38+ id : project-version
3539 run : |
36- echo "version =$( mvn help:evaluate -Dexpression=project.version -q -DforceStdout )" >> $GITHUB_OUTPUT
40+ echo "PROJECT_VERSION =$( mvn help:evaluate -Dexpression=project.version -q -DforceStdout )" >> $GITHUB_OUTPUT
3741
3842 - name : Temp. save artifact
3943 uses : actions/upload-artifact@v3
6670 with :
6771 context : .
6872 push : true
69- tags : ghcr.io/$GITHUB_REPOSITORY_OWNER/yamles-utils:${{needs.build.outputs.version }}
73+ tags : ghcr.io/$GITHUB_REPOSITORY_OWNER/yamles-utils:${{ needs.build.outputs.PROJECT_VERSION }}
You can’t perform that action at this time.
0 commit comments