Skip to content

Commit

Permalink
again
Browse files Browse the repository at this point in the history
  • Loading branch information
tswhison committed Dec 19, 2022
1 parent df259dc commit 60429a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-rpms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Install and Test RPMs
#if: ${{ github.event_name != 'pull_request'}}
run: |
docker run --rm -v ${{ github.workspace }}:/opae-sdk --entrypoint /bin/bash /scripts/test-rpms.sh
docker run --rm -v ${{ github.workspace }}:/opae-${{ matrix.distro }}/opae-sdk --workdir /opae-${{ matrix.distro }}/opae-sdk --entrypoint /bin/bash -c "/scripts/test-rpms.sh"
- name: Upload Artifact
#if: ${{ github.event_name != 'pull_request'}}
uses: actions/upload-artifact@v2.1.4
Expand Down
3 changes: 2 additions & 1 deletion scripts/test-rpms.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/bin/bash
rpmdir=$(realpath ${1:-/opae-sdk/packaging/opae/rpm})
rpmdir=$(realpath ${1:-$PWD})
rpmdir="${rpmdir}/packaging/opae/rpm"

dnf install -y $rpmdir/opae*.rpm
if [ $? -ne 0 ]; then
Expand Down

0 comments on commit 60429a5

Please sign in to comment.