Skip to content

docs: add note that we do not support flatpak #435

docs: add note that we do not support flatpak

docs: add note that we do not support flatpak #435

Workflow file for this run

# SPDX-FileCopyrightText: Copyright 2024 Siemens AG
#
# SPDX-License-Identifier: MPL-2.0
name: build browser extension
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
# Sets permissions of the GITHUB_TOKEN to checkout the repository
permissions:
contents: read
env:
WEB_EXT_VERS: 10.1.0
jobs:
reuse-and-codestyle:
runs-on: ubuntu-24.04
steps:
- name: checkout repository
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6
with:
python-version: '3.14'
- name: install dependencies
run: |
sudo apt-get update && sudo apt-get install -y python3-gi pylint python3-pydbus black
pip3 install --break-system-packages fsfe-reuse
git clean -f -d
- name: execute linters
run: |
reuse lint
pylint linux-entra-sso.py
- name: check Python code formatting
run: black --diff --check .
- name: Run biome formatter
uses: docker://ghcr.io/biomejs/biome:2.4.16@sha256:e43695cefaf3d3dc0713af731ef3ef150fef5a6bf5aebeb0ee3ffbaffd2ddc5e
with:
args: ci
build-xpi:
runs-on: ubuntu-24.04
permissions:
id-token: write
attestations: write
steps:
- name: checkout repository
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
with:
fetch-depth: 0
- name: install dependencies
run: |
sudo apt update && sudo apt install -y make git zip
- run: make package deb
- name: "web-ext lint Firefox"
run: |
npx web-ext@${{ env.WEB_EXT_VERS }} lint \
--source-dir build/firefox \
--self-hosted \
--warnings-as-errors
- name: "web-ext lint Thunderbird"
run: |
npx web-ext@${{ env.WEB_EXT_VERS }} lint \
--source-dir build/thunderbird \
--self-hosted \
--warnings-as-errors
- name: upload Firefox and Thunderbird extension
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
with:
name: mozilla-xpi
path: |
build/**/*.xpi
- name: upload chrome extension zip
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
with:
name: chrome-zip
path: |
build/chrome/
- name: upload debian package
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
with:
name: debian-package
path: |
pkgs/linux-entra-sso_*.deb
- name: attest extension artifacts
uses: actions/attest@a1948c3f048ba23858d222213b7c278aabede763 # v4
if: github.event_name == 'push'
with:
subject-path: |
build/Linux-Entra-SSO-v*
pkgs/linux-entra-sso_*.deb