Skip to content

Commit

Permalink
Enable push of packages
Browse files Browse the repository at this point in the history
  • Loading branch information
jaroslav-fedor-swi committed Oct 9, 2024
1 parent 0f054b0 commit 4c3e6fa
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/build-and-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,23 +111,23 @@ jobs:
--workdir /root/out \
$BENV_IMAGE \
cpack -G 'RPM;DEB'
# - name: Upload packages to GitHub Action artifacts
# uses: actions/upload-artifact@v4
# with:
# name: packages
# path: |
# out/opentelemetry-ebpf-*.rpm
# out/opentelemetry-ebpf-*.deb
# - name: Upload packages to Release
# uses: softprops/action-gh-release@c9b46fe7aad9f02afd89b12450b780f52dacfb2d
# if: ${{ !inputs.dry_run }}
# with:
# tag_name: ${{ env.github_tag }}
# target_commitish: ${{ inputs.ref }}
# prerelease: ${{ inputs.release_type != 'public' }}
# files: |
# out/opentelemetry-ebpf-*.rpm
# out/opentelemetry-ebpf-*.deb
- name: Upload packages to GitHub Action artifacts
uses: actions/upload-artifact@v4
with:
name: packages
path: |
out/opentelemetry-ebpf-*.rpm
out/opentelemetry-ebpf-*.deb
- name: Upload packages to Release
uses: softprops/action-gh-release@c9b46fe7aad9f02afd89b12450b780f52dacfb2d
if: ${{ !inputs.dry_run }}
with:
tag_name: ${{ env.github_tag }}
target_commitish: ${{ inputs.ref }}
prerelease: ${{ inputs.release_type != 'public' }}
files: |
out/opentelemetry-ebpf-*.rpm
out/opentelemetry-ebpf-*.deb
- name: Login to Docker Hub
uses: docker/login-action@v3
Expand Down

0 comments on commit 4c3e6fa

Please sign in to comment.