提交 b3601a3c 作者: 余乾开

feat(Action):补充Action

上级 d181ddd1
......@@ -38,6 +38,7 @@ env:
ACR_EE_NAMESPACE: sharefly
ACR_EE_IMAGE: pms
ACR_EE_TAG: ${{ github.sha }}
JAVA_VERSION: '8' # set this to the java version to use (e.g. '8', '11', '17')
permissions:
contents: read
......@@ -51,6 +52,18 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
#server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
#settings-path: ${{ github.workspace }} # location for the settings.xml file
- name: Build with Maven
run: mvn -B package --file pom.xml
# 2.1 (Optional) Login to ACR EE
- uses: actions/checkout@v3
- name: Login to ACR EE with the AccessKey pair
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论