Skip to content

Commit 63cc4e3

Browse files
Update build-binaries.yml
1 parent f2a7f16 commit 63cc4e3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build-binaries.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
### RPM
8484

8585
- name: Set up .rpm package structure
86-
if: matrix.os == 'ubuntu-latest'
86+
if: matrix.os == 'linux'
8787
run: |
8888
mkdir -p infisical-core-rpm/usr/local/bin
8989
cp ./binary/infisical-core infisical-core-rpm/usr/local/bin/
@@ -96,7 +96,7 @@ jobs:
9696

9797
# Create .spec file for RPM
9898
- name: Create .spec file for RPM
99-
if: matrix.os == 'ubuntu-latest'
99+
if: matrix.os == 'linux'
100100
run: |
101101
cat <<EOF > infisical-core.spec
102102
Name: infisical-core
@@ -119,7 +119,7 @@ jobs:
119119
120120
# Build .rpm file (Red Hat-based systems only)
121121
- name: Build .rpm package
122-
if: matrix.os == 'ubuntu-latest'
122+
if: matrix.os == 'linux'
123123
run: |
124124
rpmbuild -bb \
125125
--define "_topdir $(pwd)/rpmbuild" \
@@ -145,7 +145,7 @@ jobs:
145145

146146
# Publish .rpm file to Cloudsmith (Red Hat-based systems only)
147147
- name: Publish .rpm to Cloudsmith
148-
if: matrix.os == 'ubuntu-latest'
148+
if: matrix.os == 'linux'
149149
working-directory: ./backend
150150
run: cloudsmith push rpm --republish --no-wait-for-sync --api-key=${{ secrets.CLOUDSMITH_API_KEY }} infisical/infisical-core/any-distro/any-version ./binary/infisical-core-${{ matrix.arch }}.rpm
151151

0 commit comments

Comments
 (0)