Skip to content

Commit

Permalink
Fixed packaging artifacts issue (#530)
Browse files Browse the repository at this point in the history
Artifacts were not persisting.

Signed-off-by: Frank Quinn <fquinn@cascadium.io>
  • Loading branch information
fquinner authored Dec 19, 2022
1 parent 3b24304 commit b01eeab
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ jobs:
run: 'echo PKG=`find ./dist -name "*.${{ matrix.package_type }}"` >> $GITHUB_ENV'
- name: Archive package as an artifact
uses: actions/upload-artifact@v3
if: matrix.package_upload_enabled == 'true'
with:
name: package
path: ${{ env.PKG }}
Expand Down
7 changes: 6 additions & 1 deletion devops/build/ci-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,12 @@ fi

if [ "$DISTRIB_ID" == "$RHEL" ]
then
DISTRIB_PACKAGE_QUALIFIER=el${DISTRIB_RELEASE%%.*}
if grep -q "Red Hat" /etc/redhat-release
then
DISTRIB_PACKAGE_QUALIFIER=el${DISTRIB_RELEASE%%.*}
else
DISTRIB_PACKAGE_QUALIFIER=centos${DISTRIB_RELEASE%%.*}
fi
elif [ "$DISTRIB_ID" == "$UBUNTU" ]
then
DISTRIB_PACKAGE_QUALIFIER=ubuntu${DISTRIB_RELEASE%%.*}
Expand Down

0 comments on commit b01eeab

Please sign in to comment.