Skip to content

Commit

Permalink
Use self-hosted runner to speed up nightly and releasing packaging (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
yixinglu authored Nov 2, 2021
1 parent 8e69e6b commit 73bc825
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ defaults:
jobs:
package:
name: build package
runs-on: ubuntu-latest
runs-on: self-hosted
strategy:
fail-fast: false
matrix:
Expand All @@ -25,6 +25,9 @@ jobs:
container:
image: vesoft/nebula-dev:${{ matrix.os }}
steps:
- uses: webiny/[email protected]
with:
run: sh -c "find . -mindepth 1 -delete"
- uses: actions/checkout@v2
- name: package
run: ./package/package.sh
Expand All @@ -51,7 +54,7 @@ jobs:

docker:
name: build docker image
runs-on: ubuntu-latest
runs-on: self-hosted
strategy:
fail-fast: false
matrix:
Expand All @@ -61,6 +64,9 @@ jobs:
- storaged
- tools
steps:
- uses: webiny/[email protected]
with:
run: sh -c "find . -mindepth 1 -delete"
- uses: actions/checkout@v2
- uses: docker/setup-qemu-action@v1
- uses: docker/setup-buildx-action@v1
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ jobs:
CPACK_DIR: ./pkg-build/cpack_output
SYMS_DIR: ./pkg-build/symbols
steps:
- uses: webiny/[email protected]
with:
run: sh -c "find . -mindepth 1 -delete"
- uses: actions/checkout@v2
- uses: ./.github/actions/tagname-action
id: tag
Expand Down Expand Up @@ -57,7 +60,7 @@ jobs:

docker_build:
name: docker-build
runs-on: ubuntu-latest
runs-on: self-hosted
strategy:
fail-fast: false
matrix:
Expand All @@ -67,6 +70,9 @@ jobs:
- storaged
- tools
steps:
- uses: webiny/[email protected]
with:
run: sh -c "find . -mindepth 1 -delete"
- uses: actions/checkout@v2
- uses: ./.github/actions/tagname-action
id: tagname
Expand Down

0 comments on commit 73bc825

Please sign in to comment.