diff --git a/.github/actions/flatpak-builder-lint/action.yaml b/.github/actions/flatpak-builder-lint/action.yaml index cfbf9fadc3b164..32d238a30b3fbf 100644 --- a/.github/actions/flatpak-builder-lint/action.yaml +++ b/.github/actions/flatpak-builder-lint/action.yaml @@ -33,23 +33,6 @@ runs: ;; esac - - uses: actions/checkout@v4 - with: - repository: flathub/flatpak-builder-lint - ref: v2.0.13 - path: flatpak-builder-lint - set-safe-directory: ${{ inputs.workingDirectory }} - - - name: Install Dependencies 🛍️ - shell: bash - working-directory: ${{ inputs.workingDirectory }} - run: | - : Install Dependencies 🛍️ - echo ::group::Install Dependencies - dnf install -y -q poetry jq - poetry -q -C flatpak-builder-lint install - echo ::endgroup:: - - name: Run flatpak-builder-lint id: result shell: bash @@ -57,7 +40,7 @@ runs: run: | : Run flatpak-builder-lint exit_code=0 - ret=$(poetry -C flatpak-builder-lint run flatpak-builder-lint --exceptions ${{ inputs.artifact }} ${{ inputs.path }}) || exit_code=$? + ret=$(flatpak-builder-lint --exceptions ${{ inputs.artifact }} ${{ inputs.path }}) || exit_code=$? if [[ $exit_code != 0 && -z "$ret" ]]; then echo "::error::Error while running flatpak-builder-lint" exit 2 @@ -72,7 +55,7 @@ runs: for ((i = 0 ; i < $(echo $ret | jq '.errors | length') ; i++)); do error=$(echo $ret | jq ".errors[$i]") - if [[ "${{ inputs.validateToPublish }}" == "false" && "${error//\"}" == "appstream-screenshots-not-mirrored" ]]; then + if [[ "${{ inputs.validateToPublish }}" == "false" && "${error//\"}" == "appstream-screenshots-not-mirrored-in-ostree" ]]; then echo "::notice::$error found and ignored in the Flatpak ${{ inputs.artifact }}" n_errors=$(($n_errors-1)) else diff --git a/.github/workflows/build-project.yaml b/.github/workflows/build-project.yaml index 19f4918558551e..e213740507d24a 100644 --- a/.github/workflows/build-project.yaml +++ b/.github/workflows/build-project.yaml @@ -249,7 +249,7 @@ jobs: run: shell: bash container: - image: bilelmoussaoui/flatpak-github-actions:kde-6.5 + image: ghcr.io/tytan652/flatpak-github-actions:kde-6.6-x86_64 options: --privileged steps: - uses: actions/checkout@v4 @@ -268,8 +268,7 @@ jobs: git config --global --add safe.directory "${GITHUB_WORKSPACE}" - echo '::group::Install GitHub CLI tool' - dnf install -y -q gh + echo '::group::Install GitHub CLI Actions Cache Extension' gh extension install actions/gh-actions-cache echo '::endgroup::' diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 219f4125203c06..d1e623e557c532 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -59,7 +59,7 @@ jobs: YOUTUBE_SECRET: ${{ secrets.YOUTUBE_SECRET }} YOUTUBE_SECRET_HASH: ${{ secrets.YOUTUBE_SECRET_HASH }} container: - image: bilelmoussaoui/flatpak-github-actions:kde-6.5 + image: ghcr.io/tytan652/flatpak-github-actions:kde-6.6-x86_64 options: --privileged strategy: matrix: @@ -81,7 +81,6 @@ jobs: git config --global --add safe.directory "${GITHUB_WORKSPACE}" - dnf install -y -q gh gh extension install actions/gh-actions-cache cache_key='flatpak-builder-${{ hashFiles('build-aux/**/*.json') }}'