diff --git a/.github/workflows/github-release.yml b/.github/workflows/github-release.yml index 589a7070..32a28c95 100644 --- a/.github/workflows/github-release.yml +++ b/.github/workflows/github-release.yml @@ -11,6 +11,8 @@ jobs: release: name: Create Github Release runs-on: ubuntu-latest + outputs: + url: ${{ steps.output_url.outputs.url }} steps: - name: Download Python Build Artifacts uses: actions/download-artifact@v4 @@ -60,9 +62,13 @@ jobs: asset_name: relenv-${{ inputs.version }}-py3-none-any.whl asset_content_type: application/zip + - name: Output url + id: output_url + run: echo "url=${{ steps.create_release.outputs.upload_url }}" >> $GITHUB_OUTPUT upload-artifacts: name: Create Github Release + needs: [release] runs-on: ubuntu-latest strategy: matrix: @@ -151,7 +157,7 @@ jobs: id: upload-python-build-assets uses: actions/upload-release-asset@v1 with: - upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps + upload_url: ${{ needs.release.outputs.url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps asset_name: ${{ matrix.python }}-${{ matrix.arch }}-${{ matrix.platform }}.tar.xz asset_path: release-artifacts/ asset_content_type: application/tar+xz diff --git a/relenv/common.py b/relenv/common.py index cec151f0..aa7d111d 100644 --- a/relenv/common.py +++ b/relenv/common.py @@ -18,7 +18,7 @@ import time # relenv package version -__version__ = "0.17.400002" +__version__ = "0.17.400003" MODULE_DIR = pathlib.Path(__file__).resolve().parent