diff --git a/.github/workflows/rhub.yaml b/.github/workflows/rhub.yaml index e135988d..5f508398 100644 --- a/.github/workflows/rhub.yaml +++ b/.github/workflows/rhub.yaml @@ -53,9 +53,10 @@ jobs: steps: - name: Check distribution run: | - echo "{distribution}={$(awk -F= '/^ID=/{print $2}' /etc/os-release)}" \ - >> $GITHUB_OUTPUT + echo "{distribution}={$(awk -F= '/^ID=/{print $2}' /etc/os-release)}" >> $GITHUB_OUTPUT id: check_distribution + - name: Echo distribution + run: echo ${{ steps.check_distribution.outputs.distribution }} - name: apt-get install sudo (Ubuntu, for clang-asan) run: apt-get install sudo if: ${{ steps.check_distribution.outputs.distribution == 'ubuntu' }}