Skip to content

Commit

Permalink
code(ci/rpm): upload artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
AngeCyp committed Sep 20, 2024
1 parent 607c8dd commit f9ef4fe
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,26 @@ jobs:
tar --exclude=".[^/]*" --exclude="./build" --transform 's|.|alumet|' -zcvf ${{ env.build_dir }}/SOURCES/alumet.tar.gz .
rpmbuild -ba -vv --define "_topdir ${{ env.build_dir }}" --define "release ${{env.os}}${{env.os_version}}" specs/alumet.spec
- name: Upload artifact
- name: Upload artifact local agent
uses: actions/upload-artifact@v4
with:
name: ${{ env.name }}-${{env.os}}${{env.os_version}}.${{ env.arch }}.rpm
path: ./build/RPMS/${{ env.arch }}/alumet-${{ env.compvers }}-${{env.os}}${{env.os_version}}.${{ env.arch }}.rpm
name: alumet-local-agent-${{ env.name }}-${{env.os}}${{env.os_version}}.${{ env.arch }}.rpm
path: |
./build/RPMS/${{ env.arch }}/alumet-alumet-local-agent-${{ env.name }}-${{env.os}}${{env.os_version}}.${{ env.arch }}.rpm
- name: Upload artifact relay client
uses: actions/upload-artifact@v4
with:
name: alumet-relay-client-${{ env.name }}-${{env.os}}${{env.os_version}}.${{ env.arch }}.rpm
path: |
./build/RPMS/${{ env.arch }}/alumet-alumet-relay-client-${{ env.name }}-${{env.os}}${{env.os_version}}.${{ env.arch }}.rpm
- name: Upload artifact relay server
uses: actions/upload-artifact@v4
with:
name: alumet-relay-server-${{ env.name }}-${{env.os}}${{env.os_version}}.${{ env.arch }}.rpm
path: |
./build/RPMS/${{ env.arch }}/alumet-alumet-relay-server-${{ env.name }}-${{env.os}}${{env.os_version}}.${{ env.arch }}.rpm
# publish:
# runs-on: ubuntu-latest
Expand Down

0 comments on commit f9ef4fe

Please sign in to comment.