Skip to content

Commit 76f5dc4

Browse files
Release workflow: account for Ubuntu 22.04, take 2
1 parent 274e371 commit 76f5dc4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979

8080
- name: Build an rabbitmqadmin release archive on x86-64 Linux
8181
id: release-build-amd64-linux
82-
if: ${{ contains(['ubuntu-24.04', 'ubuntu-22.04'], matrix.os) }}
82+
if: ${{ matrix.os == 'ubuntu-24.04' || matrix.os == 'ubuntu-22.04' }}
8383
run: nu ./scripts/release-linux.nu
8484
env:
8585
OS: ${{ matrix.os }}
@@ -88,7 +88,7 @@ jobs:
8888
SRC: ${{ github.workspace }}
8989
- name: Store x86-64 Linux build artifact
9090
id: upload-amd64-linux-artifact
91-
if: ${{ contains(['ubuntu-24.04', 'ubuntu-22.04'], matrix.os) }}
91+
if: ${{ matrix.os == 'ubuntu-24.04' || matrix.os == 'ubuntu-22.04' }}
9292
uses: actions/upload-artifact@v4
9393
with:
9494
name: "rabbitmqadmin-${{ vars.NEXT_RELESE_VERSION }}-${{ matrix.target }}"

0 commit comments

Comments
 (0)