Skip to content

Commit

Permalink
reorder 1
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-at-rewst committed Jan 30, 2024
1 parent 69d99b8 commit e7e05d9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,12 +165,12 @@ jobs:
echo "%changelog" >> rewst_remote_agent.spec
cat CHANGELOG.md >> rewst_remote_agent.spec
- name: Build RPM in CentOS Container
uses: docker://centos:${{ matrix.centos-version }}
with:
args: |
yum install -y rpm-build
rpmbuild -ba rewst_remote_agent.spec --define "_sourcedir ${{ github.workspace }}" --define "_rpmdir ${{ github.workspace }}/rpms"
- name: Build RPM in Docker
run: |
docker run --rm -v ${{ github.workspace }}:/workspace -w /workspace centos:${{ matrix.centos-version }} bash -c "
yum install -y rpm-build
rpmbuild -ba rewst_remote_agent.spec --define '_sourcedir /workspace' --define '_rpmdir /workspace/rpms'"
shell: bash

- name: Archive RPM Package
uses: actions/upload-artifact@v2
Expand Down

0 comments on commit e7e05d9

Please sign in to comment.