更新 .gitea/workflows/dev.yml
This commit is contained in:
parent
f98e94ecd1
commit
f319a320ce
@ -15,7 +15,7 @@ jobs:
|
|||||||
# - name: Checkout code
|
# - name: Checkout code
|
||||||
# uses: actions/checkout@v4 # 拉取代码到工作目录
|
# uses: actions/checkout@v4 # 拉取代码到工作目录
|
||||||
- name: Set up JDK 17
|
- name: Set up JDK 17
|
||||||
uses: actions/setup-java@v3
|
uses: http://47.109.37.87:3000/bichangxiong/setup-java@v3
|
||||||
with:
|
with:
|
||||||
java-version: '17'
|
java-version: '17'
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
@ -25,12 +25,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
maven-version: 3.8.2
|
maven-version: 3.8.2
|
||||||
|
|
||||||
- name: List files in the repository
|
|
||||||
run: |
|
|
||||||
ls ${{ gitea.workspace }}
|
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: mvn clean package -DskipTests
|
run: mvn clean package -DskipTests -Dmaven.repo.local=/home/runner/maven-repo
|
||||||
- name: copy file via ssh password
|
- name: copy file via ssh password
|
||||||
uses: appleboy/scp-action@v0.1.7
|
uses: appleboy/scp-action@v0.1.7
|
||||||
with:
|
with:
|
||||||
|
Loading…
Reference in New Issue
Block a user