99 build :
1010 strategy :
1111 matrix :
12- os : [windows-latest, ubuntu-latest , macos-latest]
12+ os : [windows-latest, ubuntu-20.04 , macos-latest]
1313 configuration : [Release]
1414 platform : ['x64']
1515 runs-on : ${{ matrix.os }}
2525
2626 # Install dependencies
2727 - name : Install dependencies
28- if : matrix.os == 'ubuntu-latest '
28+ if : matrix.os == 'ubuntu-20.04 '
2929 run : |
3030 sudo apt-get update
3131 sudo apt-get install -y libyaml-dev libftdi1-dev libusb-1.0-0-dev
5454 if : matrix.os != 'windows-latest'
5555 run : |
5656 echo $CI_BUILD_VERSION
57- if [[ "${{ matrix.os }}" == "ubuntu-latest " ]]; then
57+ if [[ "${{ matrix.os }}" == "ubuntu-20.04 " ]]; then
5858 cmake .
5959 elif [[ "${{ matrix.os }}" == "macos-latest" ]]; then
6060 export PATH="/usr/local/Cellar/pkg-config/0.29.2_3/bin:${PATH}"
9292
9393 deploy :
9494 needs : build
95- runs-on : ubuntu-latest
95+ runs-on : ubuntu-20.04
9696 steps :
9797 # Check out the code
9898 - name : Checkout code
@@ -102,8 +102,8 @@ jobs:
102102 - name : Download artifacts (Ubuntu)
103103 uses : actions/download-artifact@v4
104104 with :
105- name : bcu-artifacts-${{ github.run_id }}-ubuntu-latest
106- path : artifacts/ubuntu-latest
105+ name : bcu-artifacts-${{ github.run_id }}-ubuntu-20.04
106+ path : artifacts/ubuntu-20.04
107107
108108 - name : Download artifacts (macOS)
109109 uses : actions/download-artifact@v4
@@ -128,7 +128,7 @@ jobs:
128128 Commit message: ${{ github.event.head_commit.message }}
129129 draft : true
130130 files : |
131- artifacts/ubuntu-latest /bcu
131+ artifacts/ubuntu-20.04 /bcu
132132 artifacts/macos-latest/bcu_mac
133133 artifacts/windows-latest/bcu.exe
134134 env :
0 commit comments