From 1dfd64890a1e577a1f20673e5280eb45bbc0eaf4 Mon Sep 17 00:00:00 2001 From: Ahmad Amine Date: Mon, 30 Sep 2024 23:38:11 -0400 Subject: [PATCH] Replace export in CI with variables --- .github/workflows/ci.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c6bad22d..1f661d03 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,6 +11,8 @@ permissions: jobs: build: + variables: + QT_QPA_PLATFORM: "offscreen" runs-on: ubuntu-latest strategy: @@ -22,9 +24,6 @@ jobs: - name: Install openGL run: sudo apt install freeglut3-dev libglib2.0-0 libsm6 libxrender1 libxext6 libxkbcommon-x11-0 libdbus-1-dev - - name: Set QT to be headless - run: export QT_QPA_PLATFORM=offscreen - - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }}