From f9ef4fe51126898d438868f10e725e83fcc81784 Mon Sep 17 00:00:00 2001 From: Cyprien Pelisse-Verdoux Date: Fri, 20 Sep 2024 14:48:48 +0200 Subject: [PATCH] code(ci/rpm): upload artifacts --- .github/workflows/main.yaml | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 1c2f93c..54c612e 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -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