Skip to content

Commit e8d7961

Browse files
committed
Fixed: Workflow for MacOS Builds
1 parent f6e36bd commit e8d7961

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ jobs:
1111
runs-on: ubuntu-latest
1212
permissions:
1313
contents: write
14+
outputs:
15+
upload_url: ${{ steps.create-release.outputs.upload_url }}
1416
steps:
1517
- name: Checkout repository
1618
uses: actions/checkout@v4
@@ -141,7 +143,7 @@ jobs:
141143
env:
142144
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
143145
with:
144-
upload_url: ${{ github.event.release.upload_url }}
146+
upload_url: ${{ needs.build-linux.outputs.upload_url }}
145147
asset_path: target/x86_64-apple-darwin/release/quoterm
146148
asset_name: quoterm-x86_64-apple-darwin
147149
asset_content_type: application/octet-stream
@@ -151,7 +153,7 @@ jobs:
151153
env:
152154
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
153155
with:
154-
upload_url: ${{ github.event.release.upload_url }}
156+
upload_url: ${{ needs.build-linux.outputs.upload_url }}
155157
asset_path: target/aarch64-apple-darwin/release/quoterm
156158
asset_name: quoterm-aarch64-apple-darwin
157159
asset_content_type: application/octet-stream

0 commit comments

Comments
 (0)