From 3ac38a2587c83a101669fef14fe41d764c781fe3 Mon Sep 17 00:00:00 2001 From: Kevin Yue Date: Sun, 19 Sep 2021 13:33:20 +0800 Subject: [PATCH] update CI --- .github/workflows/main.yml | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 14e13b0..a58f6f6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,30 +1,31 @@ name: Build on: + paths-ignore: + - LICENSE + - "*.md" + - .vscode push: - branches: [ master ] + branches: + - master + - dev pull_request: - branches: [ master ] + branches: + - master + - dev workflow_dispatch: # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-18.04 steps: - - name: Install Qt - uses: jurplel/install-qt-action@v2 - with: - version: 5.12.11 - modules: 'qtwebengine qtwebsockets' - # Checkout repository and submodules - uses: actions/checkout@v2 with: submodules: recursive - - name: Build + - name: Build & Install run: | - qmake CONFIG+=release - make + ./scripts/install-ubuntu.sh \ No newline at end of file