Update build.yaml
This commit is contained in:
parent
0b346ef92d
commit
684843936a
3
.github/workflows/build.yaml
vendored
3
.github/workflows/build.yaml
vendored
@ -21,6 +21,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Install sudo package
|
- name: Install sudo package
|
||||||
|
if: runner.os == 'Linux'
|
||||||
run: |
|
run: |
|
||||||
(apt-get update || true) 2>/dev/null
|
(apt-get update || true) 2>/dev/null
|
||||||
(apt-get install -y sudo || true) 2>/dev/null
|
(apt-get install -y sudo || true) 2>/dev/null
|
||||||
@ -29,6 +30,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
submodules: "recursive"
|
submodules: "recursive"
|
||||||
- name: Cache ccache
|
- name: Cache ccache
|
||||||
|
if: runner.os == 'Linux'
|
||||||
id: cache-ccache
|
id: cache-ccache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
@ -41,6 +43,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
java-version: 11
|
java-version: 11
|
||||||
- name: Setup variables
|
- name: Setup variables
|
||||||
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
# ====== Variables
|
# ====== Variables
|
||||||
REVISION=${{ github.run_number }}
|
REVISION=${{ github.run_number }}
|
||||||
|
Loading…
Reference in New Issue
Block a user