install-qt-action icon indicating copy to clipboard operation
install-qt-action copied to clipboard

can not install src with `source: true`

Open trim21 opened this issue 8 months ago • 2 comments

I'm trying to install qt src and it raise a error ValueError: Target 'None' is invalid

I'm not sure is this a bug of this actions or it's a bug or aqt, I think I should report here first.

I'm using this actions in ubuntu 24.04 with this config

      - name: Install Qt
        uses: jurplel/install-qt-action@v4
        with:
          version: "6.5.*"
          archives: icu qtbase qtdeclarative qtsvg qttools
          source: true
          src-archives: qtbase qtdeclarative
          cache: true
          arch: gcc_64
          target: desktop
          host: "linux"

full workflow:

name: qbittorrent

on:
  push:
    branches:
      - "master"
    paths:
      - .github/workflows/qbittorrent.yaml

env:
  QB_VERSION: "release-4.6.5"
  LT_VERSION: "v2.0.10"

jobs:
  ci:
    runs-on: ubuntu-24.04

    steps:
      - uses: actions/checkout@v4
        with:
          repository: trim21/qBittorrent
          #          ref: "${{ env.QB_VERSION }}"
          ref: personal-patch

      - uses: actions/checkout@v4
        with:
          ref: "${{ env.LT_VERSION }}"
          repository: arvidn/libtorrent
          path: libtorrent
          submodules: recursive

      - name: Install Qt
        uses: jurplel/install-qt-action@v4
        with:
          version: "6.5.*"
          archives: icu qtbase qtdeclarative qtsvg qttools
          source: true
          src-archives: qtbase qtdeclarative
          cache: true
          arch: gcc_64
          target: desktop
          host: "linux"

it's log is here:

https://github.com/trim21/actions-cron/actions/runs/9467040441/job/26080146783

trim21 avatar Jun 11 '24 14:06 trim21