Skip to content

Commit d5b7a34

Browse files
committed
...
1 parent fa624f4 commit d5b7a34

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/packages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ jobs:
271271
build/pkg/rpm/rpmbuild/SRPMS/
272272
273273
- name: Publish RPM packages to GitHub releases (latest)
274-
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/ci-publish-packages-to-releases'
274+
if: github.head_ref == 'master' || github.head_ref == 'ci-publish-packages-to-releases'
275275
env:
276276
GH_TOKEN: ${{ github.token }}
277277
IMAGE_NAME: ${{ matrix.image }}
@@ -280,7 +280,7 @@ jobs:
280280
TAG_NAME="ci-latest" ./.github/workflows/scripts/upload-packages.sh
281281
282282
- name: Publish RPM packages to GitHub releases (stable)
283-
if: github.ref == 'refs/heads/ci-release'
283+
if: github.head_ref == 'ci-release'
284284
env:
285285
GH_TOKEN: ${{ github.token }}
286286
IMAGE_NAME: ${{ matrix.image }}

0 commit comments

Comments
 (0)