1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-22 08:04:49 -05:00

Try ubuntu-20.04

This commit is contained in:
Jon Beniston 2024-11-01 21:31:45 +00:00
parent 8f030d9ea5
commit 00df25ff63

View File

@ -10,8 +10,9 @@ on:
jobs: jobs:
build_deb: build_deb:
strategy: strategy:
fail-fast: false
matrix: matrix:
os: [ubuntu-22.04, ubuntu-24.04] os: [ubuntu-20.04, ubuntu-22.04, ubuntu-24.04]
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@ -43,7 +44,7 @@ jobs:
id: get_version id: get_version
run: | run: |
if [[ "${{github.ref_name}}" == "linux_github_release" ]]; then if [[ "${{github.ref_name}}" == "linux_github_release" ]]; then
echo "version=${{github.sha}}" >> $GITHUB_OUTPUT echo "version=$(echo ${{github.sha}} | cut -c1-7)" >> $GITHUB_OUTPUT
else else
echo "version=$(echo ${{github.ref_name}} | cut -c2-)" >> $GITHUB_OUTPUT echo "version=$(echo ${{github.ref_name}} | cut -c2-)" >> $GITHUB_OUTPUT
fi fi