Update publish-mix-hex-release.yml

This commit is contained in:
Bryan Naegele 2024-02-04 19:46:16 -07:00 committed by GitHub
parent 7cd0594785
commit 08a86af72a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 10 deletions

View File

@ -247,13 +247,3 @@ jobs:
rebar3 update rebar3 update
rebar3 hex publish --dry-run --yes rebar3 hex publish --dry-run --yes
echo "published=true" >> $GITHUB_ENV echo "published=true" >> $GITHUB_ENV
- name: "Pull Hex Package and Upload to Release"
if: ${{ env.releasePrepped == 'true' && inputs.action == 'publish' }}
working-directory: ${{ needs.config.outputs.working_directory }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
sleep 5
mix hex.package fetch ${{ needs.config.outputs.package_name }} ${{ env.package_version }} --organization opentelemetry
gh release upload ${{ env.gh_release_tag_name}} ${{ needs.config.outputs.package_name }}-${{ env.package_version }}.tar