File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed
Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change 1+ environment :
2+ vars :
3+ GH_TOKEN
4+
15workflows :
26 build :
37 name : Build workflow
8+ triggering :
9+ events :
10+ - tag
11+ branch_patterns :
12+ - pattern : ' *'
13+ include : true
14+ source : true
415 scripts :
516 - name : install dependencies
617 script : HOMEBREW_NO_AUTO_UPDATE=1 brew install boost openssl zmq libpgm miniupnpc ldns expat libunwind-headers protobuf qt@5
@@ -40,3 +51,13 @@ workflows:
4051 script : |
4152 export ARTIFACT_NAME="aeon-gui-mac-armv8-$(git describe --tags)"
4253 curl --upload-file build/release/$ARTIFACT_NAME.tar.bz2 https://transfer.sh/$ARTIFACT_NAME.tar.bz2
54+ - name : Publish to GitHub
55+ script : |
56+ #!/usr/bin/env zsh
57+ # Publish only for tag builds
58+ if [ -z ${CM_TAG} ]; then
59+ echo "Not a tag build, will not publish GitHub release"
60+ exit 0
61+ fi
62+ export ARTIFACT_NAME="aeon-gui-mac-armv8-$(git describe --tags)"
63+ gh release create "${CM_TAG}" build/release/$ARTIFACT_NAME.tar.bz2
You can’t perform that action at this time.
0 commit comments