mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
testing workflow fixes
This commit is contained in:
parent
a3283ab06f
commit
3fd98f0044
20
.github/workflows/build.yml
vendored
20
.github/workflows/build.yml
vendored
@ -14,24 +14,20 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
name: checkout nosqlbench
|
name: checkout nosqlbench
|
||||||
with:
|
|
||||||
node-version: '16'
|
|
||||||
|
|
||||||
- uses: actions/setup-java@v3
|
- uses: actions/setup-java@v4
|
||||||
name: setup java
|
name: setup java
|
||||||
with:
|
with:
|
||||||
node-version: '16'
|
|
||||||
java-version: '21'
|
|
||||||
java-package: jdk
|
|
||||||
architecture: x64
|
architecture: x64
|
||||||
distribution: 'oracle'
|
distribution: 'oracle'
|
||||||
|
java-package: jdk
|
||||||
|
java-version: '21'
|
||||||
|
|
||||||
- name: Cache Maven packages
|
- name: Cache Maven packages
|
||||||
uses: actions/cache@v1
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
node-version: '16'
|
|
||||||
path: ~/.m2
|
path: ~/.m2
|
||||||
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
|
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
|
||||||
restore-keys: ${{ runner.os }}-m2
|
restore-keys: ${{ runner.os }}-m2
|
||||||
@ -71,9 +67,8 @@ jobs:
|
|||||||
|
|
||||||
- name: upload docs artifact
|
- name: upload docs artifact
|
||||||
if: success()
|
if: success()
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
node-version: '16'
|
|
||||||
name: exported-docs
|
name: exported-docs
|
||||||
path: exported_docs.zip
|
path: exported_docs.zip
|
||||||
|
|
||||||
@ -90,9 +85,8 @@ jobs:
|
|||||||
run: git config --global user.name "${{ secrets.NBDROID_NAME }}"
|
run: git config --global user.name "${{ secrets.NBDROID_NAME }}"
|
||||||
|
|
||||||
- name: download exported_docs
|
- name: download exported_docs
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
node-version: '16'
|
|
||||||
name: exported-docs
|
name: exported-docs
|
||||||
|
|
||||||
- run: ls -la
|
- run: ls -la
|
||||||
|
Loading…
Reference in New Issue
Block a user