Giter VIP home page Giter VIP logo

Comments (4)

wangyoucao577 avatar wangyoucao577 commented on May 17, 2024

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.

AienTech avatar AienTech commented on May 17, 2024

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.

wangyoucao577 avatar wangyoucao577 commented on May 17, 2024

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.

AienTech avatar AienTech commented on May 17, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.