Skip to content
This repository was archived by the owner on Oct 3, 2023. It is now read-only.

Commit ae67a0b

Browse files
committed
Fixed order of steps in release
1 parent 041cdfd commit ae67a0b

File tree

1 file changed

+4
-19
lines changed

1 file changed

+4
-19
lines changed

.github/workflows/release.yml

+4-19
Original file line numberDiff line numberDiff line change
@@ -34,29 +34,10 @@ jobs:
3434
echo "::set-output name=version::${TAG#v}"
3535
echo "::set-output name=prerelease::$(if test "$(helper/usr/local/bin/semver get prerel "${TAG#v}")" == ""; then echo "false"; else echo "true"; fi)"
3636
37-
build:
38-
name: Prepare
39-
runs-on: ubuntu-20.04
40-
steps:
41-
42-
- name: printenv
43-
run: |
44-
printenv | sort
45-
46-
- name: Checkout code
47-
uses: actions/checkout@v3
48-
with:
49-
ref: ${{ needs.prepare.outputs.tag }}
50-
51-
- name: Build binary
52-
run: |
53-
make docker-setup
54-
5537
release:
5638
name: Release
5739
needs:
5840
- prepare
59-
- build
6041
runs-on: ubuntu-20.04
6142
steps:
6243

@@ -73,6 +54,10 @@ jobs:
7354
run: |
7455
sed -i 's/docker_setup_version:=main/docker_setup_version:=${{ needs.prepare.outputs.version }}/' docker-setup.sh
7556
57+
- name: Build binary
58+
run: |
59+
make docker-setup
60+
7661
- name: Create checksum
7762
run: |
7863
sha256sum docker-setup >docker-setup.sha256

0 commit comments

Comments
 (0)