Comments (4)
Yes, it's due to your yaml configuration. You don't need to set up Go, Get dependencies, etc, by manual. Please follow the example https://github.com/wangyoucao577/go-release-action#basic-example or https://github.com/wangyoucao577/go-release-action#advanced-example to setup your workflow. All the Go env, go mod, go build is already in wangyoucao577/go-release-action
, and mandatory parameters in this table https://github.com/wangyoucao577/go-release-action#parameters is necessary to let it work.
If you still meet issue, please show me your repo and erro link, I can help to review more details.
from go-release-action.
You're right, that eventually fixed the main issue, not I'm facing:
Run wangyoucao577/go-release-action@master18s
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: null
go: downloading github.com/urfave/cli/v2 v2.2.0
go: downloading github.com/iancoleman/strcase v0.0.0-20191112232945-16388991a334
go: downloading github.com/ddliu/go-httpclient v0.6.7
go: downloading github.com/juju/ansiterm v0.0.0-20180109212912-720a0952cc2a
go: downloading github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e
go: downloading github.com/mattn/go-isatty v0.0.4
go: downloading github.com/mattn/go-colorable v0.0.9
go: downloading github.com/lunixbochs/vtclean v0.0.0-20180621232353-2d01aacdc34a
go: downloading github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d
go: downloading github.com/russross/blackfriday/v2 v2.0.1
go: downloading github.com/shurcooL/sanitized_anchor_name v1.0.0
+ cd build-artifacts-1596799156
+ ls -lh
total 12M
-rwxr-xr-x 1 root root 12M Aug 7 11:19 quire-cli
+ RELEASE_ASSET_EXT=.tar.gz
+ '[' linux == windows ']'
+ tar cvfz quire-cli-master-linux-amd64.tar.gz quire-cli
quire-cli
++ md5sum quire-cli-master-linux-amd64.tar.gz
++ cut -d ' ' -f 1
+ MD5_SUM=9ee778f2f2ca05ba2c13f054df848883
+ curl --fail -X POST --data-binary @quire-cli-master-linux-amd64.tar.gz -H 'Content-Type: application/gzip' -H 'Authorization: Bearer ***' 'null?name=quire-cli-master-linux-amd64.tar.gz'
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: null
Here's also the repo: https://github.com/AienTech/quire-cli
from go-release-action.
You're using wrong event to trigger the action.
Please use
on:
release:
types: [created]
instead of
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
in your workflow and then try again. You're supposed to create a new release here to trigger the release event as target of binaries.
from go-release-action.
Thanks, this actually fixed the issue. I was basically wanted to do something wrong, as I was looking for a way to release and generate binaries per each push to master. Though I'm pretty much happy now
I'll mark this issue as closed.
from go-release-action.
Related Issues (20)
- README should include required Github permissions HOT 2
- Binary release failing due to outdated Debian version HOT 2
- Location of go get modules for cache purposes HOT 1
- pkg-config: exec: "pkg-config": executable file not found in $PATH HOT 4
- how to `strip` the produced binary ? HOT 4
- apt-get install pkg via pre_command fail HOT 2
- go.dev/VERSION format seems to have changed breaking this action
- Error: Name or service not known HOT 3
- Error when running `go build`
- Failed to get vcs information
- Issues with fetching latest go binary
- Unable to download latest Go version HOT 2
- Doubt: this action works when the tag is created by another actions? HOT 1
- Resolution issue HOT 3
- Is there a demo that builds multiple binaries and packages them together? HOT 2
- Exclude some os/arch combinations from upx HOT 5
- build constraints exclude all Go files HOT 2
- cross-compilations to mac failed because clang not found HOT 3
- Downloaded go source is not cleaned up - repository reports "dirty"
- goversion 1.21 failed HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-release-action.