Skip to content

Commit

Permalink
workflows: build: fix apt-get update error
Browse files Browse the repository at this point in the history
Signed-off-by: Andrea Ricchi <[email protected]>
  • Loading branch information
AndreaRicchi committed Apr 24, 2024
1 parent 489e5db commit 33a0d09
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 33a0d09

Please sign in to comment.