Commit 63cc4e3 1 parent f2a7f16 commit 63cc4e3 Copy full SHA for 63cc4e3
File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 83
83
# ## RPM
84
84
85
85
- name : Set up .rpm package structure
86
- if : matrix.os == 'ubuntu-latest '
86
+ if : matrix.os == 'linux '
87
87
run : |
88
88
mkdir -p infisical-core-rpm/usr/local/bin
89
89
cp ./binary/infisical-core infisical-core-rpm/usr/local/bin/
96
96
97
97
# Create .spec file for RPM
98
98
- name : Create .spec file for RPM
99
- if : matrix.os == 'ubuntu-latest '
99
+ if : matrix.os == 'linux '
100
100
run : |
101
101
cat <<EOF > infisical-core.spec
102
102
Name: infisical-core
@@ -119,7 +119,7 @@ jobs:
119
119
120
120
# Build .rpm file (Red Hat-based systems only)
121
121
- name : Build .rpm package
122
- if : matrix.os == 'ubuntu-latest '
122
+ if : matrix.os == 'linux '
123
123
run : |
124
124
rpmbuild -bb \
125
125
--define "_topdir $(pwd)/rpmbuild" \
@@ -145,7 +145,7 @@ jobs:
145
145
146
146
# Publish .rpm file to Cloudsmith (Red Hat-based systems only)
147
147
- name : Publish .rpm to Cloudsmith
148
- if : matrix.os == 'ubuntu-latest '
148
+ if : matrix.os == 'linux '
149
149
working-directory : ./backend
150
150
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
151
151
You can’t perform that action at this time.
0 commit comments