mirror of
https://github.com/BlockWorldGroup/Ledger-Databases.git
synced 2025-08-17 03:30:14 +08:00
Fix actions
This commit is contained in:
parent
416e53eb46
commit
91dfeb4ccb
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
@ -29,10 +29,18 @@ jobs:
|
||||
- name: make gradle wrapper executable
|
||||
if: ${{ runner.os != 'Windows' }}
|
||||
run: chmod +x ./gradlew
|
||||
- name: Download Ledger
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
repository: 'QuiltServerTools/Ledger'
|
||||
ref: 'master'
|
||||
path: 'ledger'
|
||||
- name: Publish Ledger to mavenlocal
|
||||
run: cd ./ledger && ./gradlew publishToMavenLocal && cd ..
|
||||
- name: build
|
||||
run: ./gradlew build
|
||||
- name: capture build artifacts
|
||||
if: ${{ runner.os == 'Linux' && matrix.java == '16' }} # Only upload artifacts built from latest java on one OS
|
||||
if: ${{ runner.os == 'Linux' && matrix.java == '16' }}
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: Artifacts
|
||||
|
Loading…
x
Reference in New Issue
Block a user