Skip to content

Commit

Permalink
add logs
Browse files Browse the repository at this point in the history
  • Loading branch information
gmgigi96 committed Oct 24, 2023
1 parent 43701dc commit 125268f
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,18 +48,23 @@ jobs:
cp reva-release/revad.spec reva/revad.spec
- name: Create reva RPMs
run: |
set -x
rm -rf ~/.cache/go-build
cd reva
make -f Makefile.rpm rpm
mkdir /release
names=(${${{ matrix.container }}//\// })
names=(${CONTAINER//\// })
echo ${names[@]}
dist=${names[1]}
echo $dist
path="/release/cernbox-revad-${{ env.version }}-${dist}.rpm"
mv cernbox-revad*.rpm $path
echo $path
mv cernbox-revad*.rpm "$path"
echo "artifactPath=$path" >> $GITHUB_ENV
echo "artifactName=`basename $path`" >> $GITHUB_ENV
env:
CGO_ENABLED: 1
CONTAINER: ${{ matrix.container }}
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit 125268f

Please sign in to comment.