更新 .gitea/workflows/demo.yaml
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 4m9s
Details
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 4m9s
Details
添加java的支持
This commit is contained in:
parent
213f541f69
commit
95bc433596
|
|
@ -86,6 +86,15 @@ jobs:
|
|||
run: npm --version
|
||||
- name: Run tests
|
||||
run: echo "npm test 成功,actions/github-script@v5 创建合并请求"
|
||||
- name: Set up JDK 17
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: 'temurin' # See 'Supported distributions' for available options
|
||||
java-version: '21'
|
||||
- name: Build with Maven
|
||||
run: |
|
||||
echo "mvn clean install -DskipTests"
|
||||
mvn --version
|
||||
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
|
||||
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
|
||||
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
|
||||
|
|
|
|||
Loading…
Reference in New Issue