-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
workflows: build: fix apt-get update error
Signed-off-by: Andrea Ricchi <[email protected]>
- Loading branch information
1 parent
489e5db
commit 33a0d09
Showing
1 changed file
with
13 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,22 +2,23 @@ name: Build | |
|
||
on: | ||
push: | ||
branches: [ "main" ] | ||
branches: ["main"] | ||
pull_request: | ||
branches: [ "main" ] | ||
branches: ["main"] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Installing Qt | ||
uses: jurplel/[email protected] | ||
with: | ||
version: '5.15.2' | ||
- name: Run QMake | ||
run: qmake | ||
- name: Build | ||
run: make -j4 | ||
- uses: actions/checkout@v3 | ||
- name: Clean apt-get | ||
run: sudo apt-get clean && sudo rm -rf /var/lib/apt/lists/* | ||
- name: Installing Qt | ||
uses: jurplel/install-qt-action@v3 | ||
with: | ||
version: "5.15.2" | ||
- name: Run QMake | ||
run: qmake | ||
- name: Build | ||
run: make -j4 |