Skip to content

Commit 2feaab2

Browse files
committed
CD: needs create-release for getting upload URL
1 parent 53a8aef commit 2feaab2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build-cd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
run: echo "::set-output name=upload_url::${{ steps.create_release.outputs.upload_url }}"
2929

3030
build-publish-all:
31+
needs: create-release
3132
runs-on: ubuntu-latest
3233
steps:
3334
- name: Install Go
@@ -40,7 +41,6 @@ jobs:
4041
run: sudo apt update && sudo apt install -y build-essential
4142
- name: Make
4243
run: make
43-
4444
- name: Release for macOS
4545
uses: actions/upload-release-asset@v1
4646
env:

0 commit comments

Comments
 (0)