Skip to content

Commit

Permalink
ci: transport url
Browse files Browse the repository at this point in the history
  • Loading branch information
georgik committed Jul 17, 2024
1 parent 6403e48 commit 3d1af83
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
create-release:
runs-on: ubuntu-22.04
outputs:
upload_url: ${{ steps.create_release.outputs.upload_url }}
upload_url: ${{ steps.get_upload_url.outputs.url }}
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -23,8 +23,14 @@ jobs:
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false
draft: true
prerelease: true

- name: Get Upload URL
id: get_upload_url
run: |
url=$(echo "${{ steps.create_release.outputs.upload_url }}" | sed -e 's/{.*//')
echo "url=$url" >> $GITHUB_OUTPUT
build-and-release:
needs: create-release
Expand Down

0 comments on commit 3d1af83

Please sign in to comment.