diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index f0af5a488..a2a621abb 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -9,6 +9,9 @@ on: schedule: - cron: "0 0 * * *" +env: + # we need to install specific version because of this bug: https://github.com/dotnet/sdk/issues/24037 + FSXC_VERSION: 0.5.9.1 # FIXME: figure out why we need to clean after make if we # want 'make strict' target to really happen without @@ -44,8 +47,8 @@ jobs: run: | dotnet new tool-manifest - # we need to install specific version because of this bug: https://github.com/dotnet/sdk/issues/24037 - dotnet tool install fsxc --version 0.5.9.1 + dotnet tool install fsxc --version ${{ env.FSXC_VERSION }} + dotnet fsxc --version find . -type f -name "*.fsx" | xargs -t -I {} dotnet fsxc {} @@ -124,8 +127,8 @@ jobs: run: | dotnet new tool-manifest - # we need to install specific version because of this bug: https://github.com/dotnet/sdk/issues/24037 - dotnet tool install fsxc --version 0.5.9.1 + dotnet tool install fsxc --version ${{ env.FSXC_VERSION }} + dotnet fsxc --version find . -type f -name "*.fsx" | xargs -t -I {} dotnet fsxc {} @@ -183,8 +186,8 @@ jobs: run: | dotnet new tool-manifest - # we need to install specific version because of this bug: https://github.com/dotnet/sdk/issues/24037 - dotnet tool install fsxc --version 0.5.9.1 + dotnet tool install fsxc --version ${{ env.FSXC_VERSION }} + dotnet fsxc --version find . -type f -name "*.fsx" | xargs -t -I {} dotnet fsxc {} @@ -320,8 +323,8 @@ jobs: run: | dotnet new tool-manifest - # we need to install specific version because of this bug: https://github.com/dotnet/sdk/issues/24037 - dotnet tool install fsxc --version 0.5.9.1 + dotnet tool install fsxc --version ${{ env.FSXC_VERSION }} + dotnet fsxc --version find . -type f -name "*.fsx" | xargs -t -I {} dotnet fsxc {} @@ -364,8 +367,8 @@ jobs: run: | dotnet new tool-manifest - # we need to install specific version because of this bug: https://github.com/dotnet/sdk/issues/24037 - dotnet tool install fsxc --version 0.5.9.1 + dotnet tool install fsxc --version ${{ env.FSXC_VERSION }} + dotnet fsxc --version find . -type f -name "*.fsx" | xargs -t -I {} dotnet fsxc {} @@ -407,8 +410,8 @@ jobs: run: | dotnet new tool-manifest - # we need to install specific version because of this bug: https://github.com/dotnet/sdk/issues/24037 - dotnet tool install fsxc --version 0.5.9.1 + dotnet tool install fsxc --version ${{ env.FSXC_VERSION }} + dotnet fsxc --version find . -type f -name "*.fsx" | xargs -t -I {} dotnet fsxc {}