From f26e21fb0af5180919ee0b5db7258830f86d05d9 Mon Sep 17 00:00:00 2001 From: Simon Deziel Date: Thu, 7 Sep 2023 15:49:59 -0400 Subject: [PATCH] github: use self-hosted runner Signed-off-by: Simon Deziel --- .github/workflows/build.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9810148..0214ac6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,26 +1,23 @@ name: build on: - # Triggers the workflow on push or pull request events but only for the master branch + # Triggers the workflow on push or pull request events but only for the main branch push: - branches: [ master ] + branches: [ main ] pull_request: - branches: [ master ] + branches: [ main ] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: jobs: build: - # The type of runner that the job will run on - runs-on: ubuntu-latest + runs-on: + - self-runnner - # Steps represent a sequence of tasks that will be executed as part of the job steps: - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v3 - # shellcheck - name: Run shellcheck uses: ludeeus/action-shellcheck@master