mirror of
https://github.com/BlockWorldGroup/Ledger-Databases.git
synced 2025-08-17 19:49:42 +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
|
- name: make gradle wrapper executable
|
||||||
if: ${{ runner.os != 'Windows' }}
|
if: ${{ runner.os != 'Windows' }}
|
||||||
run: chmod +x ./gradlew
|
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
|
- name: build
|
||||||
run: ./gradlew build
|
run: ./gradlew build
|
||||||
- name: capture build artifacts
|
- 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
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: Artifacts
|
name: Artifacts
|
||||||
|
Loading…
x
Reference in New Issue
Block a user