init
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 1m18s
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 1m18s
This commit is contained in:
parent
78b4212e93
commit
6ecae87d3f
@ -8,11 +8,15 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: 克隆代码
|
- name: 克隆代码
|
||||||
uses: https://gitea.com/actions/checkout@v4
|
uses: https://gitea.com/actions/checkout@v4
|
||||||
- name: 准备maven
|
- run: |
|
||||||
uses: https://gitea.com/actions/setup-java@v4
|
download_url="https://dragonwell.oss-cn-shanghai.aliyuncs.com/21.0.6.0.6%2B7-test-dragonwell_extended/Alibaba_Dragonwell_Extended_21.0.6.0.6.7_x64_linux.tar.gz"
|
||||||
|
wget -O $RUNNER_TEMP/java_package.tar.gz $download_url
|
||||||
|
- uses: actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
distribution: 'dragonwell'
|
distribution: 'jdkfile'
|
||||||
java-version: '17'
|
jdkFile: ${{ runner.temp }}/java_package.tar.gz
|
||||||
|
java-version: '21.0.6'
|
||||||
|
architecture: x64
|
||||||
|
|
||||||
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
|
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
|
||||||
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
|
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user